picea-ui/docs/10-ui-color.md

351 B

ui:color (string $name, mixed $value = null, array $attributes = [], array $options = [])

Built on top of ui:input.

The following attributes are assigned by this extension :

  • 'class' => "ui-color"
  • 'type' => "color"

and will typically be rendered such as :

<input class="ui-color" type="color" value="$value" name="$name">