macgyer\yii2materializecss\widgets\FixedActionButton::init PHP Method

init() public method

Initializes the widget.
public init ( )
    public function init()
    {
        parent::init();
        Html::addCssClass($this->buttonOptions, ['widget' => 'btn-floating']);
        if ($this->clickToToggle) {
            Html::addCssClass($this->options, ['container' => 'click-to-toggle']);
        }
        if ($this->horizontal) {
            Html::addCssClass($this->options, ['containerLayout' => 'horizontal']);
        }
    }
FixedActionButton