/**
* Set Anchor element value.
*
* @param string $value Anchor element value.
*
* @return self Returns instance of the Anchor element class.
*
* @access public
*/
public function value(string $value = ''): self
Examples
use function Thermage\anchor;
use function Thermage\render;
// ...
render(
anchor()->value('Thermage')->href('https://awilum.github.io/thermage/')
);
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.