![]() ![]() HTMLElement.offsetParent Read onlyĪn Element that is the element from which all offset calculations are currently computed. Returns a double, the distance from this element's left border to its offsetParent's left border. Returns a double containing the height of an element, relative to the layout. Returns the cryptographic number used once that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed. HTMLElement.noModuleĪ boolean value indicating whether an import script can be executed in user agents that support module scripts. HTMLElement.langĪ string representing the language of an element's attributes, text, and element contents. Reflects the value of the popover global HTML attribute. Gets and sets an element's popover state via JavaScript ( "auto" or "manual"), and can be used for feature detection. Represents the rendered text content of a node and its descendants.Īs a getter, it approximates the text the user would get if they highlighted the contents of the element with the cursor and then copied it to the clipboard.Īs a setter, it replaces the content inside the selected element, converting any line breaks into elements.Ī string value reflecting the value of the element's inputmode attribute. ![]() HTMLElement.inertĪ boolean value indicating whether the user agent must act as though the given node is absent for the purposes of user interaction events, in-page text searches ("find in page"), and text selection. HTMLElement.hiddenĪ string or boolean value reflecting the value of the element's hidden attribute. HTMLElement.enterKeyHintĪ string defining what action label (or icon) to present for the enter key on virtual keyboards. ![]() HTMLElement.draggableĪ boolean value indicating if the element can be dragged. Possible values are "ltr", "rtl", and "auto". HTMLElement.dirĪ string, reflecting the dir global attribute, representing the directionality of the element. Returns a DOMStringMap with which script can read and write the element's custom data attributes ( data-*). Returns a boolean value indicating whether or not the content of the element can be edited. ntentEditableĪ string, where a value of true means the element is editable and a value of false means it isn't. HTMLElement.attributeStyleMap Read onlyĪ StylePropertyMap representing the declarations of the element's style attribute. Returns a string containing the element's assigned access key. HTMLElement.accessKeyĪ string representing the access key assigned to the element. Inherits properties from its parent, Element. ![]()
0 Comments
Leave a Reply. |