/**
 * Set Paragraph element value overflow.
 *
 * @param string $value Variant of value overflow.
 * 
 * @return self Returns instance of the Paragraph element class.
 *
 * @access public
 */
public function textOverflow(string $value): self

Examples

Set Paragraph element text overflow using fluent interface

use function Thermage\paragraph;
use function Thermage\render;

// ...

render( 
  paragraph('Stay RAD!')->w7()->textOverflow('ellipsis')
);

Set Paragraph element text overflow using magic method fluent interface

use function Thermage\paragraph;
use function Thermage\render;

// ...

render( 
  paragraph('Stay RAD!')->w7()->textOverflowEllipsis()
);
Terminal
$ php thermage.php
Stay...

By default Paragraph element text overflow style is clip, but you can change it to ellipsis or hidden.

Getting Started

Methods