ElementInternals$Typings extension
Properties
- checkValidity ↔ bool Function()
-
getter/setter pair
- form → HTMLFormElement?
-
Returns the form owner of internals's target element.
no setter
- labels → NodeList
-
Returns a NodeList of all the label elements that internals's target element is associated with.
no setter
- reportValidity ↔ bool Function()
-
getter/setter pair
- setFormValue ↔ void Function([dynamic, dynamic])
-
getter/setter pair
- setValidity ↔ void Function([ValidityStateFlags?, String?, HTMLElement?])
-
getter/setter pair
- shadowRoot → ShadowRoot?
-
Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise.
no setter
- validationMessage → String
-
Returns the error message that would be shown to the user if internals's target element was to be checked for validity.
no setter
- validity → ValidityState
-
Returns the ValidityState object for internals's target element.
no setter
- willValidate → bool
-
Returns true if internals's target element will be validated when the form is submitted; false otherwise.
no setter