/**
* Set Anchor element underline style.
*
* @return self Returns instance of the Anchor element class.
*
* @access public
*/
public function underline(): self
Examples
Set underline style using fluent interface
use function Thermage\anchor;
use function Thermage\render;
// ...
render(
anchor('Thermage')->href('https://awilum.github.io/thermage/')->underline()
);
Set underline style using magic classes pipeline
use function Thermage\anchor;
use function Thermage\render;
// ...
render(
anchor('Thermage', 'underline')->href('https://awilum.github.io/thermage/')
);
Set underline style using shortcodes
use function Thermage\anchor;
use function Thermage\render;
// ...
render(
anchor('[underline]Thermage[/underline]')->href('https://awilum.github.io/thermage/').
anchor('[u]Thermage[/u]')->href('https://awilum.github.io/thermage/')
);
Terminal
$ php thermage.php
Getting Started
Methods
- bg Set Anchor element background color style.
- blink Set Anchor element blink style.
- bold Set Anchor element bold style.
- border Set Anchor element border style.
- borderColor Set Anchor element border color style.
- color Set Anchor element text color style.
- d Set Anchor element display style.
- dim Set Anchor element dim style.
- display Set Anchor element display style.
- getShortcodes Get Anchor element shortcodes instance.
- getTheme Get Anchor element theme.
- getValue Get Anchor element value.
- href Set Anchor element href.
- italic Set Anchor element italic style.
- ml Set Anchor margin left style.
- mr Set Anchor margin right style.
- mx Set Anchor margin both style.
- pl Set Anchor padding left style.
- pr Set Anchor padding right style.
- px Set Anchor padding both style.
- render Render Anchor element.
- setShortcodes Set Anchor element shortcodes instance.
- setTheme Set Anchor element theme instance.
- strikethrough Set Anchor element strikethrough style.
- underline Set Anchor element underline style.
- value Set Anchor element value.