AWILUM.GITHUB.IO
Projects Donate About RU RU
Thermage Documentation GITHUB TWITTER

Getting Started

DOCUMENTATION / ELEMENTS / Alert / GETTING STARTED

Usage

Simple example of usage Alert element.

use function Thermage\alert;
use function Thermage\render;

// ...

render (
    alert('Stay RAD!')->success().
    alert('Stay RAD!')->warning().
    alert('Stay RAD!')->info().
    alert('Stay RAD!')->danger().
    alert('Stay RAD!')->primary().
    alert('Stay RAD!')->secondary()
);
Terminal
$ php thermage.php
Stay RAD!
Stay RAD!
Stay RAD!
Stay RAD!
Stay RAD!
Stay RAD!

Getting Started

  • Usage

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.

POWERED BY FLEXTYPE| SITEMAP| SOURCE CODE| TOTAL PAGES: 744

Copyright © Sergey Romanenko