13 lines
409 B
Markdown
13 lines
409 B
Markdown
|
# `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 :
|
||
|
```html
|
||
|
<input class="ui-checkbox" type="checkbox" value="$value" name="$name">
|
||
|
```
|