Protected
_choicesAn object which maps option values to displayed labels.
Protected
_internalsAttached ElementInternals which provides form handling functionality.
Protected
_optionsPredefined
Protected
_primaryThe primary input (if any). Used to determine what element should receive focus when an associated label is clicked on.
Static
formDeclare that this custom element provides form element functionality.
Static
observedAttributes requiring change notifications
Static
tagIs this element disabled?
Is this field editable? The field can be neither disabled nor readonly.
The form this element belongs to.
The input element name.
The value of the input element.
Internal
Apply key attributes on the containing custom HTML element to input elements contained within it.
Fire a callback on change to an observed attribute.
The name of the attribute
The old value: null indicates the attribute was not present.
The new value: null indicates the attribute is removed.
Initialize the custom element, constructing its HTML.
Mark a choice as selected.
The value to add to the chosen set
Mark a choice as un-selected.
The value to delete from the chosen set
Protected
_initializeProtected
Preserve existing
Protected
_onProtected
Special handling when the custom element is clicked. This should be implemented to transfer focus to an appropriate internal element.
Static
createCreate a HTMLMultiSelectElement using provided configuration data.
Provide a multi-select workflow using a select element as the input mechanism.
Example: Multi-Select HTML Markup