/**
 * Set alert width
 *
 * @param int $value Alert width.
 *
 * @return self Returns instance of the Alert class.
 *
 * @access public
 */
public function w(int $value): self

Examples

Set Alert width using fluent interface

use function Thermage\alert;
use function Thermage\render;

// ...

render(
  alert('Stay RAD!')->w(70)
);

Set Alert width using magic method fluent interface

use function Thermage\alert;
use function Thermage\render;

// ...

render(
  alert('Stay RAD!')->w70()
);

Set Alert width using magic classes pipeline

use function Thermage\alert;
use function Thermage\render;

// ...

render(
  alert('Stay RAD!', 'w-70')
);
Terminal
$ php thermage.php
Stay RAD!