/**
 * Set Strikethrough element display style.
 *
 * @param string $value Strikethrough display value.
 *
 * @return self Returns instance of the Strikethrough element class.
 *
 * @access public
 */
public function d(string $value): self

Examples

Set Strikethrough element display using fluent interface

use function Thermage\ strikethrough;
use function Thermage\render;

// ...

render( 
  strikethrough('Stay RAD!')->d('block')
);

Set Strikethrough element display using magic method fluent interface

use function Thermage\ strikethrough;
use function Thermage\render;

// ...

render( 
  strikethrough('Stay RAD!')->dBlock()
);

Set Strikethrough element width using magic classes pipeline

use function Thermage\ strikethrough;
use function Thermage\render;

// ...

render( 
  strikethrough('Stay RAD!', 'd-block')
);
Terminal
$ php thermage.php
Stay RAD!

By default Strikethrough element display state is inline, but you can change it to block or none.