Property | Type | Description | |
---|---|---|---|
$name | the name of the icon. | ||
$options | the HTML options for the icon tag. The following special options are recognized: - tag: string, defaults to "i" | ||
$position | the position of the icon. Currently "left" and "right" are natively supported by Materialize, but you can set this property to a custom string which will be added to the HTML class attribute and thus can be individually styled. The default icon position is "left". |
Method | Description | |
---|---|---|
init ( ) | Initializes the widget. | |
run ( ) : string | Executes the widget. |
public $options |
public $position |