class
Element

An abstract class, which all HTML elements extend.

Annotations
  • DocsEditable()
  • DomName('Element')
Extends
Implements
Implemented by

Constants

EventStreamProvider<Event> abortEvent = const EventStreamProvider<Event>('abort')
const
Static factory designed to expose abort events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> beforeCopyEvent = const EventStreamProvider<Event>('beforecopy')
const
Static factory designed to expose beforecopy events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> beforeCutEvent = const EventStreamProvider<Event>('beforecut')
const
Static factory designed to expose beforecut events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> beforePasteEvent = const EventStreamProvider<Event>('beforepaste')
const
Static factory designed to expose beforepaste events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> blurEvent = const EventStreamProvider<Event>('blur')
const
Static factory designed to expose blur events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> canPlayEvent = const EventStreamProvider<Event>('canplay')
const
EventStreamProvider<Event> canPlayThroughEvent = const EventStreamProvider<Event>('canplaythrough')
const
EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change')
const
Static factory designed to expose change events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> clickEvent = const EventStreamProvider<MouseEvent>('click')
const
Static factory designed to expose click events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> contextMenuEvent = const EventStreamProvider<MouseEvent>('contextmenu')
const
Static factory designed to expose contextmenu events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> copyEvent = const EventStreamProvider<Event>('copy')
const
Static factory designed to expose copy events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> cutEvent = const EventStreamProvider<Event>('cut')
const
Static factory designed to expose cut events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> doubleClickEvent = const EventStreamProvider<Event>('dblclick')
const
Static factory designed to expose doubleclick events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> dragEvent = const EventStreamProvider<MouseEvent>('drag')
const
A stream of drag events fired when an element is currently being dragged.
EventStreamProvider<MouseEvent> dragEndEvent = const EventStreamProvider<MouseEvent>('dragend')
const
A stream of dragend events fired when an element completes a drag operation.
EventStreamProvider<MouseEvent> dragEnterEvent = const EventStreamProvider<MouseEvent>('dragenter')
const
A stream of dragenter events fired when a dragged object is first dragged over an element.
EventStreamProvider<MouseEvent> dragLeaveEvent = const EventStreamProvider<MouseEvent>('dragleave')
const
A stream of dragleave events fired when an object being dragged over an element leaves the element's target area.
EventStreamProvider<MouseEvent> dragOverEvent = const EventStreamProvider<MouseEvent>('dragover')
const
A stream of dragover events fired when a dragged object is currently being dragged over an element.
EventStreamProvider<MouseEvent> dragStartEvent = const EventStreamProvider<MouseEvent>('dragstart')
const
A stream of dragstart events for a dragged element whose drag has begun.
EventStreamProvider<MouseEvent> dropEvent = const EventStreamProvider<MouseEvent>('drop')
const
A stream of drop events fired when a dragged object is dropped on an element.
EventStreamProvider<Event> durationChangeEvent = const EventStreamProvider<Event>('durationchange')
const
EventStreamProvider<Event> emptiedEvent = const EventStreamProvider<Event>('emptied')
const
EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended')
const
EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error')
const
Static factory designed to expose error events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> focusEvent = const EventStreamProvider<Event>('focus')
const
Static factory designed to expose focus events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> inputEvent = const EventStreamProvider<Event>('input')
const
Static factory designed to expose input events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> invalidEvent = const EventStreamProvider<Event>('invalid')
const
Static factory designed to expose invalid events to event handlers that are not necessarily instances of Element.
EventStreamProvider<KeyboardEvent> keyDownEvent = const EventStreamProvider<KeyboardEvent>('keydown')
const
Static factory designed to expose keydown events to event handlers that are not necessarily instances of Element.
EventStreamProvider<KeyboardEvent> keyPressEvent = const EventStreamProvider<KeyboardEvent>('keypress')
const
Static factory designed to expose keypress events to event handlers that are not necessarily instances of Element.
EventStreamProvider<KeyboardEvent> keyUpEvent = const EventStreamProvider<KeyboardEvent>('keyup')
const
Static factory designed to expose keyup events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> loadEvent = const EventStreamProvider<Event>('load')
const
Static factory designed to expose load events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> loadedDataEvent = const EventStreamProvider<Event>('loadeddata')
const
EventStreamProvider<Event> loadedMetadataEvent = const EventStreamProvider<Event>('loadedmetadata')
const
EventStreamProvider<MouseEvent> mouseDownEvent = const EventStreamProvider<MouseEvent>('mousedown')
const
Static factory designed to expose mousedown events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> mouseEnterEvent = const EventStreamProvider<MouseEvent>('mouseenter')
const
Static factory designed to expose mouseenter events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> mouseLeaveEvent = const EventStreamProvider<MouseEvent>('mouseleave')
const
Static factory designed to expose mouseleave events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> mouseMoveEvent = const EventStreamProvider<MouseEvent>('mousemove')
const
Static factory designed to expose mousemove events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> mouseOutEvent = const EventStreamProvider<MouseEvent>('mouseout')
const
Static factory designed to expose mouseout events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> mouseOverEvent = const EventStreamProvider<MouseEvent>('mouseover')
const
Static factory designed to expose mouseover events to event handlers that are not necessarily instances of Element.
EventStreamProvider<MouseEvent> mouseUpEvent = const EventStreamProvider<MouseEvent>('mouseup')
const
Static factory designed to expose mouseup events to event handlers that are not necessarily instances of Element.
EventStreamProvider<WheelEvent> mouseWheelEvent = const EventStreamProvider<WheelEvent>('mousewheel')
const
EventStreamProvider<Event> pasteEvent = const EventStreamProvider<Event>('paste')
const
Static factory designed to expose paste events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> pauseEvent = const EventStreamProvider<Event>('pause')
const
EventStreamProvider<Event> playEvent = const EventStreamProvider<Event>('play')
const
EventStreamProvider<Event> playingEvent = const EventStreamProvider<Event>('playing')
const
EventStreamProvider<Event> rateChangeEvent = const EventStreamProvider<Event>('ratechange')
const
EventStreamProvider<Event> resetEvent = const EventStreamProvider<Event>('reset')
const
Static factory designed to expose reset events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> resizeEvent = const EventStreamProvider<Event>('resize')
const
EventStreamProvider<Event> scrollEvent = const EventStreamProvider<Event>('scroll')
const
Static factory designed to expose scroll events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> searchEvent = const EventStreamProvider<Event>('search')
const
Static factory designed to expose search events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> seekedEvent = const EventStreamProvider<Event>('seeked')
const
EventStreamProvider<Event> seekingEvent = const EventStreamProvider<Event>('seeking')
const
EventStreamProvider<Event> selectEvent = const EventStreamProvider<Event>('select')
const
Static factory designed to expose select events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> selectStartEvent = const EventStreamProvider<Event>('selectstart')
const
Static factory designed to expose selectstart events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> stalledEvent = const EventStreamProvider<Event>('stalled')
const
EventStreamProvider<Event> submitEvent = const EventStreamProvider<Event>('submit')
const
Static factory designed to expose submit events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> suspendEvent = const EventStreamProvider<Event>('suspend')
const
EventStreamProvider<Event> timeUpdateEvent = const EventStreamProvider<Event>('timeupdate')
const
EventStreamProvider<TouchEvent> touchCancelEvent = const EventStreamProvider<TouchEvent>('touchcancel')
const
Static factory designed to expose touchcancel events to event handlers that are not necessarily instances of Element.
EventStreamProvider<TouchEvent> touchEndEvent = const EventStreamProvider<TouchEvent>('touchend')
const
Static factory designed to expose touchend events to event handlers that are not necessarily instances of Element.
EventStreamProvider<TouchEvent> touchEnterEvent = const EventStreamProvider<TouchEvent>('touchenter')
const
Static factory designed to expose touchenter events to event handlers that are not necessarily instances of Element.
EventStreamProvider<TouchEvent> touchLeaveEvent = const EventStreamProvider<TouchEvent>('touchleave')
const
Static factory designed to expose touchleave events to event handlers that are not necessarily instances of Element.
EventStreamProvider<TouchEvent> touchMoveEvent = const EventStreamProvider<TouchEvent>('touchmove')
const
Static factory designed to expose touchmove events to event handlers that are not necessarily instances of Element.
EventStreamProvider<TouchEvent> touchStartEvent = const EventStreamProvider<TouchEvent>('touchstart')
const
Static factory designed to expose touchstart events to event handlers that are not necessarily instances of Element.
EventStreamProvider<TransitionEvent> transitionEndEvent = const EventStreamProvider<TransitionEvent>('transitionend')
const
EventStreamProvider<Event> volumeChangeEvent = const EventStreamProvider<Event>('volumechange')
const
EventStreamProvider<Event> waitingEvent = const EventStreamProvider<Event>('waiting')
const
EventStreamProvider<Event> fullscreenChangeEvent = const EventStreamProvider<Event>('webkitfullscreenchange')
const
Static factory designed to expose fullscreenchange events to event handlers that are not necessarily instances of Element.
EventStreamProvider<Event> fullscreenErrorEvent = const EventStreamProvider<Event>('webkitfullscreenerror')
const
Static factory designed to expose fullscreenerror events to event handlers that are not necessarily instances of Element.

Static Methods

isTagSupported(String tag) → bool
Checks to see if the tag name is supported by the current platform.

Properties

String contentEditable
read / write
MenuElement contextMenu
read / write
String dir
read / write
bool draggable
read / write
bool hidden
read / write
String lang
read / write
bool spellcheck
read / write
int tabIndex
read / write
String title
read / write
bool translate
read / write
String dropzone
read / write
Map<String,String> attributes
read / write
All attributes on this element.
List<Element> children
read / write
List of the direct children of this element.
CssClassSet classes
read / write
The set of CSS classes applied to this element.
Map<String,String> dataset
read / write
Allows access to all custom data attributes (data-*) set on this element.
Rectangle client
read-only
Gets the position of this element relative to the client area of the page.
Rectangle offset
read-only
Gets the offset of this element relative to its offsetParent.
dynamic xtag
read / write
Experimental support for web components. This field stores a reference to the component implementation. It was inspired by Mozilla's x-tags project. Please note: in the future it may be possible to extend Element from your class, in which case this field will be deprecated.
String localName
read-only
String namespaceUri
read-only
A URI that identifies the XML namespace of this element.
CssRect contentEdge
read-only
Access this element's content position.
CssRect paddingEdge
read-only
Access the dimensions and position of this element's content + padding box.
CssRect borderEdge
read-only
Access the dimensions and position of this element's content + padding + border box.
CssRect marginEdge
read-only
Access the dimensions and position of this element's content + padding + border + margin box.
Point documentOffset
read-only
Provides the coordinates of the element relative to the top of the document.
String innerHtml
read / write
ElementEvents on
read-only
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
int offsetHeight
read-only
int offsetLeft
read-only
int offsetTop
read-only
int offsetWidth
read-only
int clientHeight
read-only
int clientLeft
read-only
int clientTop
read-only
int clientWidth
read-only
int scrollHeight
read-only
int scrollLeft
read / write
int scrollTop
read / write
int scrollWidth
read-only
bool isContentEditable
read-only
String className
read / write
String id
read / write
Element offsetParent
read-only
String outerHtml
read-only
ShadowRoot shadowRoot
read-only
CssStyleDeclaration style
read-only
String tagName
read-only
Element nextElementSibling
read-only
Element previousElementSibling
read-only
ElementStream<Event> onAbort
read-only
Stream of abort events handled by this [Element].
ElementStream<Event> onBeforeCopy
read-only
Stream of beforecopy events handled by this [Element].
ElementStream<Event> onBeforeCut
read-only
Stream of beforecut events handled by this [Element].
ElementStream<Event> onBeforePaste
read-only
Stream of beforepaste events handled by this [Element].
ElementStream<Event> onBlur
read-only
Stream of blur events handled by this [Element].
ElementStream<Event> onCanPlay
read-only
ElementStream<Event> onCanPlayThrough
read-only
ElementStream<Event> onChange
read-only
Stream of change events handled by this [Element].
ElementStream<MouseEvent> onClick
read-only
Stream of click events handled by this [Element].
ElementStream<MouseEvent> onContextMenu
read-only
Stream of contextmenu events handled by this [Element].
ElementStream<Event> onCopy
read-only
Stream of copy events handled by this [Element].
ElementStream<Event> onCut
read-only
Stream of cut events handled by this [Element].
ElementStream<Event> onDoubleClick
read-only
Stream of doubleclick events handled by this [Element].
ElementStream<MouseEvent> onDrag
read-only
A stream of drag events fired when this element currently being dragged.
ElementStream<MouseEvent> onDragEnd
read-only
A stream of dragend events fired when this element completes a drag operation.
ElementStream<MouseEvent> onDragEnter
read-only
A stream of dragenter events fired when a dragged object is first dragged over this element.
ElementStream<MouseEvent> onDragLeave
read-only
A stream of dragleave events fired when an object being dragged over this element leaves this element's target area.
ElementStream<MouseEvent> onDragOver
read-only
A stream of dragover events fired when a dragged object is currently being dragged over this element.
ElementStream<MouseEvent> onDragStart
read-only
A stream of dragstart events fired when this element starts being dragged.
ElementStream<MouseEvent> onDrop
read-only
A stream of drop events fired when a dragged object is dropped on this element.
ElementStream<Event> onDurationChange
read-only
ElementStream<Event> onEmptied
read-only
ElementStream<Event> onEnded
read-only
ElementStream<Event> onError
read-only
Stream of error events handled by this [Element].
ElementStream<Event> onFocus
read-only
Stream of focus events handled by this [Element].
ElementStream<Event> onInput
read-only
Stream of input events handled by this [Element].
ElementStream<Event> onInvalid
read-only
Stream of invalid events handled by this [Element].
ElementStream<KeyboardEvent> onKeyDown
read-only
Stream of keydown events handled by this [Element].
ElementStream<KeyboardEvent> onKeyPress
read-only
Stream of keypress events handled by this [Element].
ElementStream<KeyboardEvent> onKeyUp
read-only
Stream of keyup events handled by this [Element].
ElementStream<Event> onLoad
read-only
Stream of load events handled by this [Element].
ElementStream<Event> onLoadedData
read-only
ElementStream<Event> onLoadedMetadata
read-only
ElementStream<MouseEvent> onMouseDown
read-only
Stream of mousedown events handled by this [Element].
ElementStream<MouseEvent> onMouseEnter
read-only
Stream of mouseenter events handled by this [Element].
ElementStream<MouseEvent> onMouseLeave
read-only
Stream of mouseleave events handled by this [Element].
ElementStream<MouseEvent> onMouseMove
read-only
Stream of mousemove events handled by this [Element].
ElementStream<MouseEvent> onMouseOut
read-only
Stream of mouseout events handled by this [Element].
ElementStream<MouseEvent> onMouseOver
read-only
Stream of mouseover events handled by this [Element].
ElementStream<MouseEvent> onMouseUp
read-only
Stream of mouseup events handled by this [Element].
ElementStream<WheelEvent> onMouseWheel
read-only
Stream of mousewheel events handled by this [Element].
ElementStream<Event> onPaste
read-only
Stream of paste events handled by this [Element].
ElementStream<Event> onPause
read-only
ElementStream<Event> onPlay
read-only
ElementStream<Event> onPlaying
read-only
ElementStream<Event> onRateChange
read-only
ElementStream<Event> onReset
read-only
Stream of reset events handled by this [Element].
ElementStream<Event> onResize
read-only
ElementStream<Event> onScroll
read-only
Stream of scroll events handled by this [Element].
ElementStream<Event> onSearch
read-only
Stream of search events handled by this [Element].
ElementStream<Event> onSeeked
read-only
ElementStream<Event> onSeeking
read-only
ElementStream<Event> onSelect
read-only
Stream of select events handled by this [Element].
ElementStream<Event> onSelectStart
read-only
Stream of selectstart events handled by this [Element].
ElementStream<Event> onStalled
read-only
ElementStream<Event> onSubmit
read-only
Stream of submit events handled by this [Element].
ElementStream<Event> onSuspend
read-only
ElementStream<Event> onTimeUpdate
read-only
ElementStream<TouchEvent> onTouchCancel
read-only
Stream of touchcancel events handled by this [Element].
ElementStream<TouchEvent> onTouchEnd
read-only
Stream of touchend events handled by this [Element].
ElementStream<TouchEvent> onTouchEnter
read-only
Stream of touchenter events handled by this [Element].
ElementStream<TouchEvent> onTouchLeave
read-only
Stream of touchleave events handled by this [Element].
ElementStream<TouchEvent> onTouchMove
read-only
Stream of touchmove events handled by this [Element].
ElementStream<TouchEvent> onTouchStart
read-only
Stream of touchstart events handled by this [Element].
ElementStream<TransitionEvent> onTransitionEnd
read-only
Stream of transitionend events handled by this [Element].
ElementStream<Event> onVolumeChange
read-only
ElementStream<Event> onWaiting
read-only
ElementStream<Event> onFullscreenChange
read-only
Stream of fullscreenchange events handled by this [Element].
ElementStream<Event> onFullscreenError
read-only
Stream of fullscreenerror events handled by this [Element].
List<Node> nodes
read / write , inherited
A modifiable list of this node's children.
List<Node> childNodes
read-only , inherited
A list of this node's children.
String baseUri
read-only , inherited
Node firstChild
read-only , inherited
The first child of this node.
Node lastChild
read-only , inherited
The last child of this node.
Node nextNode
read-only , inherited
The next sibling node.
String nodeName
read-only , inherited
The name of this node.
int nodeType
read-only , inherited
The type of node.
String nodeValue
read-only , inherited
The value of this node.
Document ownerDocument
read-only , inherited
The document this node belongs to.
Element parent
read-only , inherited
The parent element of this node.
Node parentNode
read-only , inherited
The parent node of this node.
Node previousNode
read-only , inherited
The previous sibling node.
String text
read / write , inherited
All text within this node and its decendents.

Constructors

Element.html(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer})
Creates an HTML element from a valid fragment of HTML.
Element.created()
Custom element creation constructor.
Element.tag(String tag, [String typeExtention])
Creates the HTML element specified by the tag name.
Element.a()
Creates a new <a> element.
Element.article()
Creates a new <article> element.
Element.aside()
Creates a new <aside> element.
Element.audio()
Creates a new <audio> element.
Element.br()
Creates a new <br> element.
Element.canvas()
Creates a new <canvas> element.
Element.div()
Creates a new <div> element.
Element.footer()
Creates a new <footer> element.
Element.header()
Creates a new <header> element.
Element.hr()
Creates a new <hr> element.
Element.iframe()
Creates a new <iframe> element.
Element.img()
Creates a new <img> element.
Element.li()
Creates a new <li> element.
Element.nav()
Creates a new <nav> element.
Element.ol()
Creates a new <ol> element.
Element.option()
Creates a new <option> element.
Element.p()
Creates a new <p> element.
Element.pre()
Creates a new <pre> element.
Element.section()
Creates a new <section> element.
Element.select()
Creates a new <select> element.
Element.span()
Creates a new <span> element.
Element.svg()
Creates a new <svg> element.
Element.table()
Creates a new <table> element.
Element.td()
Creates a new <td> element.
Element.textarea()
Creates a new <textarea> element.
Element.th()
Creates a new <th> element.
Element.tr()
Creates a new <tr> element.
Element.ul()
Creates a new <ul> element.
Element.video()
Creates a new <video> element.

Methods

querySelectorAll(String selectors) → ElementList<Element>
Finds all descendent elements of this element that match the specified group of selectors.
query(String relativeSelectors) → Element
Alias for querySelector. Note this function is deprecated because its semantics will be changing in the future.
queryAll(String relativeSelectors) → ElementList<Element>
Alias for querySelectorAll. Note this function is deprecated because its semantics will be changing in the future.
getNamespacedAttributes(String namespace) → Map<String,String>
Gets a map for manipulating the attributes of a particular namespace.
getComputedStyle([String pseudoElement]) → CssStyleDeclaration
The set of all CSS values applied to this element, including inherited and default values.
appendText(String text) → void
Adds the specified text after the last child of this element.
appendHtml(String text, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void
Parses the specified text as HTML and adds the resulting node after the last child of this element.
attached() → void
Called by the DOM when this element has been inserted into the live document.
detached() → void
Called by the DOM when this element has been removed from the live document.
enteredView() → void
Deprecated*: override attached instead.
leftView() → void
Deprecated*: override detached instead.
attributeChanged(String name, String oldValue, String newValue) → void
Called by the DOM whenever an attribute on this has been changed.
toString() → String
The string representation of this element.
scrollIntoView([ScrollAlignment alignment]) → void
Scrolls this element into view.
insertAdjacentHtml(String where, String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void
Parses text as an HTML fragment and inserts it into the DOM at the specified location.
matchesWithAncestors(String selectors) → bool
Checks if this element or any of its parents match the CSS selectors.
offsetTo(Element parent) → Point
Provides the offset of this element's borderEdge relative to the specified parent.
createFragment(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → DocumentFragment
Create a DocumentFragment from the HTML fragment and ensure that it follows the sanitization rules specified by the validator or treeSanitizer.
setInnerHtml(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void
Parses the HTML fragment and sets it as the contents of this element. This ensures that the generated content follows the sanitization rules specified by the validator or treeSanitizer.
click() → void
animate(Object effect, [Object timing]) → AnimationPlayer
blur() → void
createShadowRoot() → ShadowRoot
focus() → void
getAnimationPlayers() → List<AnimationPlayer>
getAttribute(String name) → String
getAttributeNS(String namespaceURI, String localName) → String
getBoundingClientRect() → Rectangle
Returns the smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.
getClientRects() → List<Rectangle>
Returns a list of bounding rectangles for each box associated with this element.
getDestinationInsertionPoints() → List<Node>
Returns a list of shadow DOM insertion points to which this element is distributed.
getElementsByClassName(String classNames) → List<Node>
Returns a list of nodes with the given class name inside this element.
insertAdjacentElement(String where, Element element) → Element
insertAdjacentText(String where, String text) → void
matches(String selectors) → bool
requestFullscreen() → void
requestPointerLock() → void
setAttribute(String name, String value) → void
setAttributeNS(String namespaceURI, String qualifiedName, String value) → void
remove() → void
Removes this node from the DOM.
querySelector(String selectors) → Element
Finds the first descendant element of this element that matches the specified group of selectors.
addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
dispatchEvent(Event event) → bool
inherited
replaceWith(Node otherNode) → Node
inherited
Replaces this node with another node.
insertAllBefore(Iterable<Node> newNodes, Node refChild) → Node
inherited
Inserts all of the nodes into this node directly before refChild.
append(Node newChild) → Node
inherited
Adds a node to the end of the child nodes list of this node.
clone(bool deep) → Node
inherited
Returns a copy of this node.
contains(Node other) → bool
inherited
Returns true if this node contains the specified node.
hasChildNodes() → bool
inherited
Returns true if this node has any children.
insertBefore(Node newChild, Node refChild) → Node
inherited
Inserts all of the nodes into this node directly before refChild.