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

Examples

Set Div element text overflow using fluent interface

use function Thermage\div;
use function Thermage\render;

// ...

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

Set Div element text overflow using magic method fluent interface

use function Thermage\div;
use function Thermage\render;

// ...

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

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