Class rmrevin\yii\fontawesome\component\Stack

Inheritancermrevin\yii\fontawesome\component\Stack

Class Stack

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$defaultTag string rmrevin\yii\fontawesome\component\Stack

Property Details

$defaultTag public static property
public static string $defaultTag 'span'

Method Details

__construct() public method

public void __construct ( $options = [] )
$options array
__toString() public method

public string __toString ( )
icon() public method

public self icon ( $icon, $options = [] )
$icon string|rmrevin\yii\fontawesome\component\Icon
$options array
on() public method

public self on ( $icon, $options = [] )
$icon string|rmrevin\yii\fontawesome\component\Icon
$options array
render() public method

public string render ( $tag null, $options = [] )
$tag string|null
$options array
throws \yii\base\InvalidConfigException
tag() public method

Change html tag.

public static tag ( $tag )
$tag string
throws \yii\base\InvalidParamException