icon() html()
An icon with an optional title and text: icon($class, $title, $text, $class) or one array.
html()->icon()Опції
| Опція | Значення |
|---|---|
$icon, $title, $text | Icon class; title; text after it (escaped). |
array form | icon(['icon', 'title', 'text', 'style']). |
Приклад
Ships today Ukraine
Код
return html()->icon('fa fa-lock') . html()->icon('fa fa-truck', 'Shipping', 'Ships today') . html()->icon(['icon' => 'bfh-flag-UA', 'title' => 'Ukraine']);Див. також: html/a, html/country