Search

Find components, guides, and documentation

Checkbox Group: API Table

class: LionCheckbox, lion-checkbox

Fields

NamePrivacyTypeDefaultDescriptionInherited From
placeholderpublicstring''LionInput
readOnlypublicbooleanfalseA 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
slotspublicLionInput
typepublicstring'text'LionInput
_feedbackConditionMetaprotectedLionField
_focusableNodeprotectedLionField
_inputNodeprotectedHTMLInputElementLionInput

Methods

NamePrivacyDescriptionParametersReturnInherited From
clearpublicClears modelValue. Interaction states are not cleared (use resetInteractionState for this)LionField
resetpublicResets modelValue to initial value. Interaction states are clearedLionField
resetInteractionStatepublicLionField
_onChangeprotectedDispatches custom bubble eventev: Event=LionField

Events

NameTypeDescriptionInherited From
user-input-changedEventLionField

Attributes

NameFieldInherited From
readonlyreadOnlyLionInput
typetypeLionInput
placeholderplaceholderLionInput

class: LionCheckboxGroup, lion-checkbox-group

Fields

NamePrivacyTypeDefaultDescriptionInherited From
multipleChoicepublicbooleantrue

class: LionCheckboxIndeterminate, lion-checkbox-indeterminate

Fields

NamePrivacyTypeDefaultDescriptionInherited From
indeterminatepublicbooleanfalseIndeterminate state of the checkbox
mixedStatepublicbooleanfalse
placeholderpublicstring''LionInput
readOnlypublicbooleanfalseA 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
slotspublicLionInput
typepublicstring'text'LionInput
_checkboxGroupNodeprotected
_feedbackConditionMetaprotectedLionField
_focusableNodeprotectedLionField
_indeterminateSubStatesprotectedboolean[][]
_inputNodeprotectedHTMLInputElementLionInput
_subCheckboxesprotected

Methods

NamePrivacyDescriptionParametersReturnInherited From
clearpublicClears modelValue. Interaction states are not cleared (use resetInteractionState for this)LionField
resetpublicResets modelValue to initial value. Interaction states are clearedLionField
resetInteractionStatepublicLionField
_afterTemplateprotected
_onChangeprotectedDispatches custom bubble eventev: Event=LionField
_onRequestToAddFormElementprotectedev: Event
_onRequestToRemoveFormElementprotectedev: Event
_setBasedOnMixedStateprotected
_setOldStateprotected
_setOwnCheckedStateprotected
_storeIndeterminateStateprotected

Events

NameTypeDescriptionInherited From
user-input-changedEventLionField

Attributes

NameFieldInherited From
indeterminateindeterminate
mixed-statemixedState
readonlyreadOnlyLionInput
typetypeLionInput
placeholderplaceholderLionInput