Protected
_internalsAttached ElementInternals which provides form handling functionality.
Protected
_primaryThe primary input (if any). Used to determine what element should receive focus when an associated label is clicked on.
Protected
_valueThe underlying value of the element.
Static
tagThe HTML tag name used by this element.
Static
formDeclare that this custom element provides form element functionality.
The form this element belongs to.
The input element name.
The value of the input element.
Is this element disabled?
Is this field editable? The field can be neither disabled nor readonly.
Protected
_getProtected
Return the value of the input element which should be submitted to the form.
Protected
_setProtected
Translate user-provided input value into the format that should be stored.
A new value to assign to the element
An error if the provided value is invalid
Protected
_toggleProtected
_buildProtected
_refreshProtected
_activateProtected
_on
An abstract custom HTMLElement designed for use with form inputs.
Abstract
Fires
input An "input" event when the value of the input changes
Fires
change A "change" event when the value of the element changes