The Heading element represent five levels of section headings.
Usage
Simple example of usage Heading
element.
use function Thermage\heading;
use function Thermage\render;
// ...
render (
heading('Stay RAD!')->size1().
heading('Stay RAD!')->size2().
heading('Stay RAD!')->size3().
heading('Stay RAD!')->size4().
heading('Stay RAD!')->size5()
);
Terminal
$ php thermage.php
Stay RAD!
Stay RAD!
Stay RAD!
Stay RAD!
Stay RAD!
Methods
Method | Description |
---|---|
d | Set Heading element display style. |
getShortcodes | Get Heading element shortcodes instance. |
getTheme | Get Heading element theme. |
getValue | Get Heading element value. |
render | Render Heading element. |
setShortcodes | Set Heading element shortcodes instance. |
setTheme | Set Heading element theme instance. |
size | Set Heading size. |
textAlign | Set Heading element text align. |
value | Set Heading element value. |
Getting Started
Methods
- d Set Heading element display style.
- getShortcodes Get Heading element shortcodes instance.
- getTheme Get Heading element theme.
- getValue Get Heading element value.
- render Render Heading element.
- setShortcodes Set Heading element shortcodes instance.
- setTheme Set Heading element theme instance.
- size Set Heading size.
- textAlign Set Heading element text align.
- value Set Heading element value.