VSelectableBox
Props
| Name | Type | Description |
|---|---|---|
| aria-current | Enum:pagesteplocationdatetimetruefalse | Indicates the element that represents the current item within a container or set of related elements. |
| aria-label | string | |
| checked | boolean | Controls the checked state of the box |
| clickable | boolean | DEPRECATED: Replaced by the clickable-box prop |
| clickable-box | boolean | Makes the entire selectable box clickable |
| connotation | Enum:accentcta | The connotation the selectable box should have. |
| control-type | Enum:checkboxradio | The type of control the box should have: checkbox or radio. |
| tight | boolean | Removes the padding around the box's slot content |
Events
| Name | Event Type | Description |
|---|---|---|
| click | MouseEvent | Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element. |
| focus | FocusEvent | Fires when the element receives focus. |
| blur | FocusEvent | Fires when the element loses focus. |
| keydown | KeyboardEvent | Fires when a key is pressed. |
| keyup | KeyboardEvent | Fires when a key is released. |
| input | Event | Fires when the value of an element has been changed. |
| change | CustomEvent<undefined> | Fired when the checked state changes |
Slots
| Name | Description |
|---|---|
| default | Slot for box's content. |