Usage
Simple example of usage Paragraph
element with fluent interface.
use function Thermage\paragraph;
use function Thermage\render;
// ...
render (
paragraph('Stay RAD!')
->pl5()
->colorGreen()
->bgPurple()
->bold()
);
Simple example of usage Paragraph
element with magic classes pipeline.
use function Thermage\paragraph;
use function Thermage\render;
// ...
render (
paragraph('Stay RAD!', 'pl-5 color-green bg-purple bold')
);
Terminal
$ php thermage.php
Stay RAD!
Getting Started
Methods
- bg Set Paragraph element background color style.
- blink Set Paragraph element blink style.
- bold Set Paragraph element bold style.
- border Set Paragraph element border style.
- borderColor Set Paragraph element border color style.
- color Set Paragraph element text color style.
- d Set Paragraph element display style.
- dim Set Paragraph element dim style.
- display Set Paragraph element display style.
- getShortcodes Get Paragraph element shortcodes instance.
- getTheme Get Paragraph element theme.
- getValue Get Paragraph element value.
- h Set Paragraph element height.
- invisible Set Paragraph element invisible style.
- italic Set Paragraph element italic style.
- m Set Paragraph margin style.
- mb Set Paragraph margin bottom style.
- ml Set Paragraph margin left style.
- mr Set Paragraph margin right style.
- mt Set Paragraph margin top style.
- mx Set Paragraph margin x style.
- my Set Paragraph margin y style.
- p Set Paragraph padding style.
- pb Set Paragraph padding bottom style.
- pl Set Paragraph padding left style.
- pr Set Paragraph padding right style.
- pt Set Div padding top style.
- px Set Paragraph padding x style.
- py Set Paragraph padding y style.
- render Render Paragraph element.
- reverse Set Paragraph element reverse property.
- setShortcodes Set Paragraph element shortcodes instance.
- setTheme Set Paragraph element theme instance.
- strikethrough Set Paragraph element strikethrough style.
- textAlign Set Paragraph element text align.
- textAlignVertical Set Paragraph element text align vertical.
- textOverflow Set Paragraph element text overflow.
- underline Set Paragraph element underline style.
- value Set Paragraph element value.
- w Set Paragraph element width.