macgyer\yii2materializecss\widgets\form\ActiveField::colorInput PHP Method

colorInput() public method

Renders a color input.
public colorInput ( array $options = [] ) : ActiveField
$options array
return ActiveField
    public function colorInput($options = [])
    {
        Html::addCssClass($options, ['input' => 'color']);
        return parent::input('color', $options);
    }