Element
package js.html
extends DOMElement › Node › EventTarget
extended by AnchorElement, AreaElement, BRElement, BaseElement, BodyElement, ButtonElement, CanvasElement, DListElement, DataElement, DataListElement, DetailsElement, DirectoryElement, DivElement, EmbedElement, FieldSetElement, FontElement, FormElement, FrameElement, FrameSetElement, HRElement, HeadElement, HeadingElement, HtmlElement, IFrameElement, ImageElement, InputElement, LIElement, LabelElement, LegendElement, LinkElement, MapElement, MediaElement, MenuElement, MenuItemElement, MetaElement, MeterElement, ModElement, OListElement, ObjectElement, OptGroupElement, OptionElement, OutputElement, ParagraphElement, ParamElement, PictureElement, PreElement, ProgressElement, QuoteElement, ScriptElement, SelectElement, SlotElement, SourceElement, SpanElement, StyleElement, TableCaptionElement, TableCellElement, TableColElement, TableElement, TableRowElement, TableSectionElement, TemplateElement, TextAreaElement, TimeElement, TitleElement, TrackElement, UListElement, UnknownElement
Available on js
The HTMLElement
interface represents any HTML element. Some elements directly implement this interface, others implement it via an interface that inherits it.
Documentation HTMLElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Methods
blur():Void
Removes keyboard focus from the currently focused element.
Throws:
null |
DOMError |
---|
click():Void
Sends a mouse click event to the element.
focus():Void
Makes the element the current keyboard focus.
Throws:
null |
DOMError |
---|
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Element.html