Checkbox Group: API Table
class: LionCheckbox, lion-checkbox
Fields
| Name | Privacy | Type | Default | Description | Inherited From |
|---|---|---|---|---|---|
placeholder | public | string | '' | LionInput | |
readOnly | public | boolean | false | A Boolean attribute which, if present, indicates that the user should not be able to edit the value of the input. The difference between disabled and readonly is that read-only controls can still function, whereas disabled controls generally do not function as controls until they are enabled. (From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly) | LionInput |
slots | public | LionInput | |||
type | public | string | 'text' | LionInput | |
_feedbackConditionMeta | protected | LionField | |||
_focusableNode | protected | LionField | |||
_inputNode | protected | HTMLInputElement | LionInput |
Methods
| Name | Privacy | Description | Parameters | Return | Inherited From |
|---|---|---|---|---|---|
clear | public | Clears modelValue. Interaction states are not cleared (use resetInteractionState for this) | LionField | ||
reset | public | Resets modelValue to initial value. Interaction states are cleared | LionField | ||
resetInteractionState | public | LionField | |||
_onChange | protected | Dispatches custom bubble event | ev: Event= | LionField |
Events
| Name | Type | Description | Inherited From |
|---|---|---|---|
user-input-changed | Event | LionField |
Attributes
| Name | Field | Inherited From |
|---|---|---|
readonly | readOnly | LionInput |
type | type | LionInput |
placeholder | placeholder | LionInput |
class: LionCheckboxGroup, lion-checkbox-group
Fields
| Name | Privacy | Type | Default | Description | Inherited From |
|---|---|---|---|---|---|
multipleChoice | public | boolean | true |
class: LionCheckboxIndeterminate, lion-checkbox-indeterminate
Fields
| Name | Privacy | Type | Default | Description | Inherited From |
|---|---|---|---|---|---|
indeterminate | public | boolean | false | Indeterminate state of the checkbox | |
mixedState | public | boolean | false | ||
placeholder | public | string | '' | LionInput | |
readOnly | public | boolean | false | A Boolean attribute which, if present, indicates that the user should not be able to edit the value of the input. The difference between disabled and readonly is that read-only controls can still function, whereas disabled controls generally do not function as controls until they are enabled. (From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly) | LionInput |
slots | public | LionInput | |||
type | public | string | 'text' | LionInput | |
_checkboxGroupNode | protected | ||||
_feedbackConditionMeta | protected | LionField | |||
_focusableNode | protected | LionField | |||
_indeterminateSubStates | protected | boolean[] | [] | ||
_inputNode | protected | HTMLInputElement | LionInput | ||
_subCheckboxes | protected |
Methods
| Name | Privacy | Description | Parameters | Return | Inherited From |
|---|---|---|---|---|---|
clear | public | Clears modelValue. Interaction states are not cleared (use resetInteractionState for this) | LionField | ||
reset | public | Resets modelValue to initial value. Interaction states are cleared | LionField | ||
resetInteractionState | public | LionField | |||
_afterTemplate | protected | ||||
_onChange | protected | Dispatches custom bubble event | ev: Event= | LionField | |
_onRequestToAddFormElement | protected | ev: Event | |||
_onRequestToRemoveFormElement | protected | ev: Event | |||
_setBasedOnMixedState | protected | ||||
_setOldState | protected | ||||
_setOwnCheckedState | protected | ||||
_storeIndeterminateState | protected |
Events
| Name | Type | Description | Inherited From |
|---|---|---|---|
user-input-changed | Event | LionField |
Attributes
| Name | Field | Inherited From |
|---|---|---|
indeterminate | indeterminate | |
mixed-state | mixedState | |
readonly | readOnly | LionInput |
type | type | LionInput |
placeholder | placeholder | LionInput |