Свойство | Type | Description | |
---|---|---|---|
$color | the color of the spinner. The following options are supported: - blue - red - yellow - green To set the color, use the corresponding COLOR_* constant of this class. If no color from this range is given, the slider color will be the Materialize default "petrol" color (#26a69a). | ||
$flashColors | whether to show alternating colors in spinner. If this is set to "true" the spinner will continously alternate its colors between blue, red, yellow and green. | ||
$options | the HTML attributes for the widget container tag. | ||
$size | the size of the spinner. The following options are supported: - small - medium - big Defaults to "medium". To set the size, use the corresponding SIZE_* constant of this class. | ||
$spinnerOptions | the HTML attributes for the spinner. If [[flashColors]] is set to "true" these options will be applied to all spinner simultaneously. |
Méthode | Description | |
---|---|---|
init ( ) | Initializes the widget. | |
run ( ) : string | Executes the widget. |
Méthode | Description | |
---|---|---|
renderSpinner ( ) : string | Renders a single spinner. |
protected renderSpinner ( ) : string | ||
Résultat | string |
public $color |
public $flashColors |
public $size |