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

409 B

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

Built on top of ui.radio component, which itself extends ui.input.

The following attributes are assigned by this extension :

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

and will typically be rendered such as :

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