UseElement class

Inheritance
Implements
Annotations
  • @DocsEditable()
  • @DomName('SVGUseElement')
  • @Unstable()

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

UseElement()
factory
UseElement.created()

Constructor instantiated by the DOM when a custom element has been created.

UseElement.internal_()

Properties

heightAnimatedLength
@DocsEditable(), @DomName('SVGUseElement.height'), read-only
hrefAnimatedString
@DocsEditable(), @DomName('SVGUseElement.href'), read-only
widthAnimatedLength
@DocsEditable(), @DomName('SVGUseElement.width'), read-only
xAnimatedLength
@DocsEditable(), @DomName('SVGUseElement.x'), read-only
yAnimatedLength
@DocsEditable(), @DomName('SVGUseElement.y'), read-only
assignedSlotSlotElement
@DocsEditable(), @DomName('Element.assignedSlot'), @Experimental(), read-only, inherited
attributesMap<String, String>
read / write, inherited

All attributes on this element.

baseUriString
@DocsEditable(), @DomName('Node.baseURI'), read-only, inherited
borderEdgeCssRect
@Experimental(), read-only, inherited

Access the dimensions and position of this element's content + padding + border box.

childNodesList<Node>
@DocsEditable(), @DomName('Node.childNodes'), read-only, inherited

A list of this node's children.

childrenList<Element>
read / write, inherited
classesCssClassSet
read-only, inherited
classNameString
@DocsEditable(), @DomName('Element.className'), read / write, inherited
clientRectangle
read-only, inherited

Gets the position of this element relative to the client area of the page.

clientHeightint
@DocsEditable(), @DomName('Element.clientHeight'), read-only, inherited
clientLeftint
@DocsEditable(), @DomName('Element.clientLeft'), read-only, inherited
clientTopint
@DocsEditable(), @DomName('Element.clientTop'), read-only, inherited
clientWidthint
@DocsEditable(), @DomName('Element.clientWidth'), read-only, inherited
computedNameString
@DocsEditable(), @DomName('Element.computedName'), @Experimental(), read-only, inherited
computedRoleString
@DocsEditable(), @DomName('Element.computedRole'), @Experimental(), read-only, inherited
contentEdgeCssRect
@Experimental(), read-only, inherited

Access this element's content position.

contentEditableString
read / write, inherited
contextMenuMenuElement
read / write, inherited
datasetMap<String, String>
read / write, inherited

Allows access to all custom data attributes (data-*) set on this element.

dirString
read / write, inherited
documentOffsetPoint
@Experimental(), read-only, inherited

Provides the coordinates of the element relative to the top of the document.

draggablebool
read / write, inherited
dropzoneString
read / write, inherited
farthestViewportElementSvgElement
@DocsEditable(), @DomName('SVGGraphicsElement.farthestViewportElement'), @Experimental(), read-only, inherited
firstChildNode
@DocsEditable(), @DomName('Node.firstChild'), read-only, inherited

The first child of this node.

hashCodeint
read-only, inherited
hiddenbool
read / write, inherited
idString
@DocsEditable(), @DomName('Element.id'), read / write, inherited
innerHtmlString
read / write, inherited
isContentEditablebool
read-only, inherited
langString
read / write, inherited
lastChildNode
@DocsEditable(), @DomName('Node.lastChild'), read-only, inherited

The last child of this node.

localNameString
@DocsEditable(), @DomName('Element.localName'), read-only, inherited
marginEdgeCssRect
@Experimental(), read-only, inherited

Access the dimensions and position of this element's content + padding + border + margin box.

namespaceUriString
@DomName('Element.namespaceUri'), read-only, inherited

A URI that identifies the XML namespace of this element.

nearestViewportElementSvgElement
@DocsEditable(), @DomName('SVGGraphicsElement.nearestViewportElement'), @Experimental(), read-only, inherited
nextElementSiblingElement
@DocsEditable(), @DomName('Element.nextElementSibling'), read-only, inherited
nextNodeNode
@DocsEditable(), @DomName('Node.nextSibling'), read-only, inherited

The next sibling node.

nodeNameString
@DocsEditable(), @DomName('Node.nodeName'), read-only, inherited

The name of this node.

nodesList<Node>
read / write, inherited

A modifiable list of this node's children.

nodeTypeint
@DocsEditable(), @DomName('Node.nodeType'), read-only, inherited

The type of node.

nodeValueString
@DocsEditable(), @DomName('Node.nodeValue'), read-only, inherited

The value of this node.

offsetRectangle
read-only, inherited

Gets the offset of this element relative to its offsetParent.

offsetHeightint
@DocsEditable(), @DomName('Element.offsetHeight'), read-only, inherited
offsetLeftint
@DocsEditable(), @DomName('Element.offsetLeft'), read-only, inherited
offsetParentElement
@DocsEditable(), @DomName('Element.offsetParent'), read-only, inherited
offsetTopint
@DocsEditable(), @DomName('Element.offsetTop'), read-only, inherited
offsetWidthint
@DocsEditable(), @DomName('Element.offsetWidth'), read-only, inherited
onElementEvents
read-only, inherited

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

onAbortElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onabort'), @Experimental(), read-only, inherited
onBeforeCopyElementStream<Event>
@DocsEditable(), @DomName('Element.onbeforecopy'), read-only, inherited

Stream of beforecopy events handled by this Element.

onBeforeCutElementStream<Event>
@DocsEditable(), @DomName('Element.onbeforecut'), read-only, inherited

Stream of beforecut events handled by this Element.

onBeforePasteElementStream<Event>
@DocsEditable(), @DomName('Element.onbeforepaste'), read-only, inherited

Stream of beforepaste events handled by this Element.

onBlurElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onblur'), @Experimental(), read-only, inherited
onCanPlayElementStream<Event>
@DocsEditable(), @DomName('SVGElement.oncanplay'), @Experimental(), read-only, inherited
onCanPlayThroughElementStream<Event>
@DocsEditable(), @DomName('SVGElement.oncanplaythrough'), @Experimental(), read-only, inherited
onChangeElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onchange'), @Experimental(), read-only, inherited
onClickElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.onclick'), @Experimental(), read-only, inherited
onContextMenuElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.oncontextmenu'), @Experimental(), read-only, inherited
onCopyElementStream<ClipboardEvent>
@DocsEditable(), @DomName('Element.oncopy'), read-only, inherited

Stream of copy events handled by this Element.

onCutElementStream<ClipboardEvent>
@DocsEditable(), @DomName('Element.oncut'), read-only, inherited

Stream of cut events handled by this Element.

onDoubleClickElementStream<Event>
@DocsEditable(), @DomName('SVGElement.ondblclick'), @Experimental(), read-only, inherited
onDragElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.ondrag'), @Experimental(), read-only, inherited
onDragEndElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.ondragend'), @Experimental(), read-only, inherited
onDragEnterElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.ondragenter'), @Experimental(), read-only, inherited
onDragLeaveElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.ondragleave'), @Experimental(), read-only, inherited
onDragOverElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.ondragover'), @Experimental(), read-only, inherited
onDragStartElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.ondragstart'), @Experimental(), read-only, inherited
onDropElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.ondrop'), @Experimental(), read-only, inherited
onDurationChangeElementStream<Event>
@DocsEditable(), @DomName('SVGElement.ondurationchange'), @Experimental(), read-only, inherited
onEmptiedElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onemptied'), @Experimental(), read-only, inherited
onEndedElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onended'), @Experimental(), read-only, inherited
onErrorElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onerror'), @Experimental(), read-only, inherited
onFocusElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onfocus'), @Experimental(), read-only, inherited
onFullscreenChangeElementStream<Event>
@DocsEditable(), @DomName('Element.onwebkitfullscreenchange'), @Experimental(), read-only, inherited

Stream of fullscreenchange events handled by this Element.

onFullscreenErrorElementStream<Event>
@DocsEditable(), @DomName('Element.onwebkitfullscreenerror'), @Experimental(), read-only, inherited

Stream of fullscreenerror events handled by this Element.

onInputElementStream<Event>
@DocsEditable(), @DomName('SVGElement.oninput'), @Experimental(), read-only, inherited
onInvalidElementStream<Event>
@DocsEditable(), @DomName('SVGElement.oninvalid'), @Experimental(), read-only, inherited
onKeyDownElementStream<KeyboardEvent>
@DocsEditable(), @DomName('SVGElement.onkeydown'), @Experimental(), read-only, inherited
onKeyPressElementStream<KeyboardEvent>
@DocsEditable(), @DomName('SVGElement.onkeypress'), @Experimental(), read-only, inherited
onKeyUpElementStream<KeyboardEvent>
@DocsEditable(), @DomName('SVGElement.onkeyup'), @Experimental(), read-only, inherited
onLoadElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onload'), @Experimental(), read-only, inherited
onLoadedDataElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onloadeddata'), @Experimental(), read-only, inherited
onLoadedMetadataElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onloadedmetadata'), @Experimental(), read-only, inherited
onMouseDownElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.onmousedown'), @Experimental(), read-only, inherited
onMouseEnterElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.onmouseenter'), @Experimental(), read-only, inherited
onMouseLeaveElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.onmouseleave'), @Experimental(), read-only, inherited
onMouseMoveElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.onmousemove'), @Experimental(), read-only, inherited
onMouseOutElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.onmouseout'), @Experimental(), read-only, inherited
onMouseOverElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.onmouseover'), @Experimental(), read-only, inherited
onMouseUpElementStream<MouseEvent>
@DocsEditable(), @DomName('SVGElement.onmouseup'), @Experimental(), read-only, inherited
onMouseWheelElementStream<WheelEvent>
@DocsEditable(), @DomName('SVGElement.onmousewheel'), @Experimental(), read-only, inherited
onPasteElementStream<ClipboardEvent>
@DocsEditable(), @DomName('Element.onpaste'), read-only, inherited

Stream of paste events handled by this Element.

onPauseElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onpause'), @Experimental(), read-only, inherited
onPlayElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onplay'), @Experimental(), read-only, inherited
onPlayingElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onplaying'), @Experimental(), read-only, inherited
onRateChangeElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onratechange'), @Experimental(), read-only, inherited
onResetElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onreset'), @Experimental(), read-only, inherited
onResizeElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onresize'), @Experimental(), read-only, inherited
onScrollElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onscroll'), @Experimental(), read-only, inherited
onSearchElementStream<Event>
@DocsEditable(), @DomName('Element.onsearch'), @Experimental(), read-only, inherited

Stream of search events handled by this Element.

onSeekedElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onseeked'), @Experimental(), read-only, inherited
onSeekingElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onseeking'), @Experimental(), read-only, inherited
onSelectElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onselect'), @Experimental(), read-only, inherited
onSelectStartElementStream<Event>
@DocsEditable(), @DomName('Element.onselectstart'), @Experimental(), read-only, inherited

Stream of selectstart events handled by this Element.

onStalledElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onstalled'), @Experimental(), read-only, inherited
onSubmitElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onsubmit'), @Experimental(), read-only, inherited
onSuspendElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onsuspend'), @Experimental(), read-only, inherited
onTimeUpdateElementStream<Event>
@DocsEditable(), @DomName('SVGElement.ontimeupdate'), @Experimental(), read-only, inherited
onTouchCancelElementStream<TouchEvent>
@DocsEditable(), @DomName('SVGElement.ontouchcancel'), @Experimental(), read-only, inherited
onTouchEndElementStream<TouchEvent>
@DocsEditable(), @DomName('SVGElement.ontouchend'), @Experimental(), read-only, inherited
onTouchEnterElementStream<TouchEvent>
@DocsEditable(), @DomName('Element.ontouchenter'), @Experimental(), read-only, inherited

Stream of touchenter events handled by this Element.

onTouchLeaveElementStream<TouchEvent>
@DocsEditable(), @DomName('Element.ontouchleave'), @Experimental(), read-only, inherited

Stream of touchleave events handled by this Element.

onTouchMoveElementStream<TouchEvent>
@DocsEditable(), @DomName('SVGElement.ontouchmove'), @Experimental(), read-only, inherited
onTouchStartElementStream<TouchEvent>
@DocsEditable(), @DomName('SVGElement.ontouchstart'), @Experimental(), read-only, inherited
onTransitionEndElementStream<TransitionEvent>
@DocsEditable(), @DomName('Element.ontransitionend'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), @SupportedBrowser(SupportedBrowser.SAFARI), read-only, inherited

Stream of transitionend events handled by this Element.

onVolumeChangeElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onvolumechange'), @Experimental(), read-only, inherited
onWaitingElementStream<Event>
@DocsEditable(), @DomName('SVGElement.onwaiting'), @Experimental(), read-only, inherited
outerHtmlString
read-only, inherited
ownerDocumentDocument
@DocsEditable(), @DomName('Node.ownerDocument'), read-only, inherited

The document this node belongs to.

ownerSvgElementSvgSvgElement
@DocsEditable(), @DomName('SVGElement.ownerSVGElement'), read-only, inherited
paddingEdgeCssRect
@Experimental(), read-only, inherited

Access the dimensions and position of this element's content + padding box.

parentElement
@DocsEditable(), @DomName('Node.parentElement'), read-only, inherited

The parent element of this node.

parentNodeNode
@DocsEditable(), @DomName('Node.parentNode'), read-only, inherited

The parent node of this node.

previousElementSiblingElement
@DocsEditable(), @DomName('Element.previousElementSibling'), read-only, inherited
previousNodeNode
@DocsEditable(), @DomName('Node.previousSibling'), read-only, inherited

The previous sibling node.

requiredExtensionsStringList
@DocsEditable(), @DomName('SVGGraphicsElement.requiredExtensions'), @Experimental(), read-only, inherited
requiredFeaturesStringList
@DocsEditable(), @DomName('SVGGraphicsElement.requiredFeatures'), @Experimental(), read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

scrollHeightint
@DocsEditable(), @DomName('Element.scrollHeight'), read-only, inherited
scrollLeftint
@DocsEditable(), @DomName('Element.scrollLeft'), read / write, inherited
scrollTopint
@DocsEditable(), @DomName('Element.scrollTop'), read / write, inherited
scrollWidthint
@DocsEditable(), @DomName('Element.scrollWidth'), read-only, inherited
shadowRootShadowRoot
@DocsEditable(), @DomName('Element.shadowRoot'), @Experimental(), read-only, inherited
slotString
@DocsEditable(), @DomName('Element.slot'), @Experimental(), read / write, inherited
spellcheckbool
read / write, inherited
styleCssStyleDeclaration
@DocsEditable(), @DomName('SVGElement.style'), @Experimental(), read-only, inherited
systemLanguageStringList
@DocsEditable(), @DomName('SVGGraphicsElement.systemLanguage'), @Experimental(), read-only, inherited
tabIndexint
@DocsEditable(), @DomName('SVGElement.tabIndex'), @Experimental(), read / write, inherited
tagNameString
@DocsEditable(), @DomName('Element.tagName'), read-only, inherited
textString
@DocsEditable(), @DomName('Node.textContent'), read / write, inherited

All text within this node and its descendents.

titleString
read / write, inherited
transformAnimatedTransformList
@DocsEditable(), @DomName('SVGGraphicsElement.transform'), @Experimental(), read-only, inherited
translatebool
read / write, inherited
treeRootNode
@DocsEditable(), @DomName('Node.treeRoot'), @Experimental(), read-only, inherited
viewportElementSvgElement
@DocsEditable(), @DomName('SVGElement.viewportElement'), read-only, inherited
xtag → dynamic
read / write, inherited

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.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
animate(Iterable<Map<String, dynamic>> frames, [ timing ]) → Animation
@Experimental(), @SupportedBrowser(SupportedBrowser.CHROME, '36'), inherited

Creates a new AnimationEffect object whose target element is the object on which the method is called, and calls the play() method of the AnimationTimeline object of the document timeline of the node document of the element, passing the newly created AnimationEffect as the argument to the method. Returns an Animation for the effect.

append(Node node) → Node
@DocsEditable(), @DomName('Node.appendChild'), inherited

Adds a node to the end of the child nodes list of this node.

appendHtml(String text, { NodeValidator validator, NodeTreeSanitizer treeSanitizer }) → void
inherited

Parses the specified text as HTML and adds the resulting node after the last child of this element.

appendText(String text) → void
inherited

Adds the specified text after the last child of this element.

attached() → void
@Experimental(), inherited

Called by the DOM when this element has been inserted into the live document.

attachShadow(Map shadowRootInitDict) → ShadowRoot
@DocsEditable(), @DomName('Element.attachShadow'), @Experimental(), inherited
attributeChanged(String name, String oldValue, String newValue) → void
inherited

Called by the DOM whenever an attribute on this has been changed.

blur() → void
@DocsEditable(), @DomName('SVGElement.blur'), @Experimental(), inherited
click() → void
inherited
clone(bool deep) → Node
@DocsEditable(), @DomName('Node.cloneNode'), inherited

Returns a copy of this node.

closest(String selectors) → Element
@DocsEditable(), @DomName('Element.closest'), @Experimental(), inherited
contains(Node other) → bool
@DocsEditable(), @DomName('Node.contains'), inherited

Returns true if this node contains the specified node.

createFragment(String svg, { NodeValidator validator, NodeTreeSanitizer treeSanitizer }) → DocumentFragment
inherited

Create a DocumentFragment from the HTML fragment and ensure that it follows the sanitization rules specified by the validator or treeSanitizer.

createShadowRoot() → ShadowRoot
@DocsEditable(), @DomName('Element.createShadowRoot'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME, '25'), inherited
detached() → void
@Experimental(), inherited

Called by the DOM when this element has been removed from the live document.

dispatchEvent(Event event) → bool
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
enteredView() → void
@Experimental(), inherited

Deprecated*: override attached instead.

focus() → void
@DocsEditable(), @DomName('SVGElement.focus'), @Experimental(), inherited
getAnimations() → List<Animation>
@DocsEditable(), @DomName('Element.getAnimations'), @Experimental(), inherited
getAttribute(String name) → String
@DocsEditable(), @DomName('Element.getAttribute'), @Experimental(), inherited
getAttributeNS(String namespaceURI, String localName) → String
@DocsEditable(), @DomName('Element.getAttributeNS'), @Experimental(), inherited
getBBox() → Rect
@DocsEditable(), @DomName('SVGGraphicsElement.getBBox'), @Experimental(), inherited
getBoundingClientRect() → Rectangle
@DocsEditable(), @DomName('Element.getBoundingClientRect'), inherited

Returns the smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.

getClientRects() → List<Rectangle>
@DocsEditable(), @DomName('Element.getClientRects'), inherited

Returns a list of bounding rectangles for each box associated with this element.

getComputedStyle([String pseudoElement ]) → CssStyleDeclaration
inherited

The set of all CSS values applied to this element, including inherited and default values.

getCtm() → Matrix
@DocsEditable(), @DomName('SVGGraphicsElement.getCTM'), @Experimental(), inherited
getDestinationInsertionPoints() → List<Node>
@DocsEditable(), @DomName('Element.getDestinationInsertionPoints'), @Experimental(), inherited

Returns a list of shadow DOM insertion points to which this element is distributed.

getElementsByClassName(String classNames) → List<Node>
@DocsEditable(), @DomName('Element.getElementsByClassName'), inherited

Returns a list of nodes with the given class name inside this element.

getNamespacedAttributes(String namespace) → Map<String, String>
inherited

Gets a map for manipulating the attributes of a particular namespace.

getScreenCtm() → Matrix
@DocsEditable(), @DomName('SVGGraphicsElement.getScreenCTM'), @Experimental(), inherited
hasChildNodes() → bool
@DocsEditable(), @DomName('Node.hasChildNodes'), inherited

Returns true if this node has any children.

insertAdjacentElement(String where, Element element) → Element
@DomName('Element.insertAdjacentElement'), inherited
insertAdjacentHtml(String where, String text, { NodeValidator validator, NodeTreeSanitizer treeSanitizer }) → void
@DomName('Element.insertAdjacentHTML'), inherited

Parses text as an HTML fragment and inserts it into the DOM at the specified location.

insertAdjacentText(String where, String text) → void
@DomName('Element.insertAdjacentText'), inherited
insertAllBefore(Iterable<Node> newNodes, Node refChild) → Node
inherited

Inserts all of the nodes into this node directly before refChild.

insertBefore(Node node, Node child) → Node
@DocsEditable(), @DomName('Node.insertBefore'), inherited

Inserts all of the nodes into this node directly before refChild.

leftView() → void
@Experimental(), inherited

Deprecated*: override detached instead.

matches(String selectors) → bool
@DocsEditable(), @DomName('Element.matches'), @Experimental(), inherited
matchesWithAncestors(String selectors) → bool
@Experimental(), inherited

Checks if this element or any of its parents match the CSS selectors.

noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

offsetTo(Element parent) → Point
@Experimental(), inherited

Provides the offset of this element's borderEdge relative to the specified parent.

query(String relativeSelectors) → Element
@DomName('Element.querySelector'), @Experimental(), inherited

Alias for querySelector. Note this function is deprecated because its semantics will be changing in the future.

queryAll(String relativeSelectors) → ElementList<Element>
@DomName('Element.querySelectorAll'), @Experimental(), inherited

Alias for querySelectorAll. Note this function is deprecated because its semantics will be changing in the future.

querySelector(String selectors) → Element
@DocsEditable(), @DomName('Element.querySelector'), inherited

Finds the first descendant element of this element that matches the specified group of selectors.

querySelectorAll(String selectors) → ElementList<Element>
@DomName('Element.querySelectorAll'), inherited

Finds all descendent elements of this element that match the specified group of selectors.

remove() → void
@DocsEditable(), @DomName('Element.remove'), inherited

Removes this node from the DOM.

removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
replaceWith(Node otherNode) → Node
@DomName('Node.replaceChild'), inherited

Replaces this node with another node.

requestFullscreen() → void
@DocsEditable(), @DomName('Element.requestFullscreen'), @Experimental(), inherited
requestPointerLock() → void
@DocsEditable(), @DomName('Element.requestPointerLock'), @Experimental(), inherited
scroll([options_OR_x, num y ]) → void
inherited
scrollBy([options_OR_x, num y ]) → void
inherited
scrollIntoView([ScrollAlignment alignment ]) → void
inherited

Scrolls this element into view.

scrollTo([options_OR_x, num y ]) → void
inherited
setApplyScroll(ScrollStateCallback scrollStateCallback, String nativeScrollBehavior) → void
@DocsEditable(), @DomName('Element.setApplyScroll'), @Experimental(), inherited
setAttribute(String name, String value) → void
@DocsEditable(), @DomName('Element.setAttribute'), inherited
setAttributeNS(String namespaceURI, String name, String value) → void
@DocsEditable(), @DomName('Element.setAttributeNS'), inherited
setDistributeScroll(ScrollStateCallback scrollStateCallback, String nativeScrollBehavior) → void
@DocsEditable(), @DomName('Element.setDistributeScroll'), @Experimental(), inherited
setInnerHtml(String html, { NodeValidator validator, NodeTreeSanitizer treeSanitizer }) → void
inherited

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.

toString() → String
inherited

The string representation of this element.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-svg/UseElement-class.html