/**
* Render Alert element to the output/string.
*
* @param bool $output Output or return rendered element.
*
* @access public
*/
public function render($output = true)
Examples
use function Thermage\alert;
// ...
// Render alert element.
alert('Stay RAD!')->render();
Getting Started
Methods
- danger Set Alert element type danger.
- display Set Alert element display style.
- getShortcodes Get Alert element shortcodes instance.
- getTheme Get Alert element theme.
- getValue Get Alert element value.
- info Set Alert element type info.
- primary Set Alert element type primary.
- render Render Alert element.
- secondary Set Alert element type secondary.
- setShortcodes Set Alert element shortcodes instance.
- setTheme Set Alert element theme instance.
- success Set Alert element type success.
- textAlign Set Alert element text align.
- value Set Alert element value.
- w Set Alert width.
- warning Set Alert element type warning.