HTMLElement

HTMLElement

Members

styles

Multiple and nested styles of an HTMLElement.
Properties:
Name Type Description
styles Object
Source:

Methods

offset(parentElement) → {Offset}

Get the offset from the root element or parent element.
Parameters:
Name Type Description
parentElement HTMLElement
Source:

validate() → {boolean}

Validates the input UI contained in the specified HTML element, and displays a browser-standard error if there is a validation error. The validation content follows the various attributes of the input tag.
Source: