ShadowElement class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('HTMLShadowElement')
  • @SupportedBrowser(SupportedBrowser.CHROME, '26')
  • @Experimental()

Static Properties

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

Checks if this type is supported on the current platform.

Constructors

ShadowElement()
factory
ShadowElement.created()

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

ShadowElement.internal_()

Properties

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

List of the direct children of this element.

classesCssClassSet
read / write, inherited

The set of CSS classes applied to this element.

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
@DocsEditable(), @DomName('HTMLElement.contentEditable'), read / write, inherited
contextMenuMenuElement
@DocsEditable(), @DomName('HTMLElement.contextMenu'), @Experimental(), read / write, inherited
datasetMap<String, String>
read / write, inherited

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

dirString
@DocsEditable(), @DomName('HTMLElement.dir'), read / write, inherited
documentOffsetPoint
@Experimental(), read-only, inherited

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

draggablebool
@DocsEditable(), @DomName('HTMLElement.draggable'), read / write, inherited
dropzoneString
@DocsEditable(), @DomName('HTMLElement.webkitdropzone'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), read / write, inherited
firstChildNode
@DocsEditable(), @DomName('Node.firstChild'), read-only, inherited

The first child of this node.

hashCodeint
read-only, inherited
hiddenbool
@DocsEditable(), @DomName('HTMLElement.hidden'), read / write, inherited
idString
@DocsEditable(), @DomName('Element.id'), read / write, inherited
innerHtmlString
read / write, inherited

Parses the HTML fragment and sets it as the contents of this element.

isContentEditablebool
@DocsEditable(), @DomName('HTMLElement.isContentEditable'), read-only, inherited
langString
@DocsEditable(), @DomName('HTMLElement.lang'), 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.

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('HTMLElement.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('HTMLElement.onblur'), @Experimental(), read-only, inherited
onCanPlayElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.oncanplay'), @Experimental(), read-only, inherited
onCanPlayThroughElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.oncanplaythrough'), @Experimental(), read-only, inherited
onChangeElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onchange'), @Experimental(), read-only, inherited
onClickElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.onclick'), @Experimental(), read-only, inherited
onContextMenuElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.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('HTMLElement.ondblclick'), @Experimental(), read-only, inherited
onDragElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.ondrag'), @Experimental(), read-only, inherited
onDragEndElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.ondragend'), @Experimental(), read-only, inherited
onDragEnterElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.ondragenter'), @Experimental(), read-only, inherited
onDragLeaveElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.ondragleave'), @Experimental(), read-only, inherited
onDragOverElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.ondragover'), @Experimental(), read-only, inherited
onDragStartElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.ondragstart'), @Experimental(), read-only, inherited
onDropElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.ondrop'), @Experimental(), read-only, inherited
onDurationChangeElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.ondurationchange'), @Experimental(), read-only, inherited
onEmptiedElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onemptied'), @Experimental(), read-only, inherited
onEndedElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onended'), @Experimental(), read-only, inherited
onErrorElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onerror'), @Experimental(), read-only, inherited
onFocusElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.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('HTMLElement.oninput'), @Experimental(), read-only, inherited
onInvalidElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.oninvalid'), @Experimental(), read-only, inherited
onKeyDownElementStream<KeyboardEvent>
@DocsEditable(), @DomName('HTMLElement.onkeydown'), @Experimental(), read-only, inherited
onKeyPressElementStream<KeyboardEvent>
@DocsEditable(), @DomName('HTMLElement.onkeypress'), @Experimental(), read-only, inherited
onKeyUpElementStream<KeyboardEvent>
@DocsEditable(), @DomName('HTMLElement.onkeyup'), @Experimental(), read-only, inherited
onLoadElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onload'), @Experimental(), read-only, inherited
onLoadedDataElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onloadeddata'), @Experimental(), read-only, inherited
onLoadedMetadataElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onloadedmetadata'), @Experimental(), read-only, inherited
onMouseDownElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.onmousedown'), @Experimental(), read-only, inherited
onMouseEnterElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.onmouseenter'), @Experimental(), read-only, inherited
onMouseLeaveElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.onmouseleave'), @Experimental(), read-only, inherited
onMouseMoveElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.onmousemove'), @Experimental(), read-only, inherited
onMouseOutElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.onmouseout'), @Experimental(), read-only, inherited
onMouseOverElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.onmouseover'), @Experimental(), read-only, inherited
onMouseUpElementStream<MouseEvent>
@DocsEditable(), @DomName('HTMLElement.onmouseup'), @Experimental(), read-only, inherited
onMouseWheelElementStream<WheelEvent>
@DocsEditable(), @DomName('HTMLElement.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('HTMLElement.onpause'), @Experimental(), read-only, inherited
onPlayElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onplay'), @Experimental(), read-only, inherited
onPlayingElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onplaying'), @Experimental(), read-only, inherited
onRateChangeElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onratechange'), @Experimental(), read-only, inherited
onResetElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onreset'), @Experimental(), read-only, inherited
onResizeElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onresize'), @Experimental(), read-only, inherited
onScrollElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.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('HTMLElement.onseeked'), @Experimental(), read-only, inherited
onSeekingElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onseeking'), @Experimental(), read-only, inherited
onSelectElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.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('HTMLElement.onstalled'), @Experimental(), read-only, inherited
onSubmitElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onsubmit'), @Experimental(), read-only, inherited
onSuspendElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onsuspend'), @Experimental(), read-only, inherited
onTimeUpdateElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.ontimeupdate'), @Experimental(), read-only, inherited
onTouchCancelElementStream<TouchEvent>
@DocsEditable(), @DomName('HTMLElement.ontouchcancel'), @Experimental(), read-only, inherited
onTouchEndElementStream<TouchEvent>
@DocsEditable(), @DomName('HTMLElement.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('HTMLElement.ontouchmove'), @Experimental(), read-only, inherited
onTouchStartElementStream<TouchEvent>
@DocsEditable(), @DomName('HTMLElement.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('HTMLElement.onvolumechange'), @Experimental(), read-only, inherited
onWaitingElementStream<Event>
@DocsEditable(), @DomName('HTMLElement.onwaiting'), @Experimental(), read-only, inherited
outerHtmlString
@DocsEditable(), @DomName('Element.outerHTML'), read-only, inherited
ownerDocumentDocument
@DocsEditable(), @DomName('Node.ownerDocument'), read-only, inherited

The document this node belongs to.

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.

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
@DocsEditable(), @DomName('HTMLElement.spellcheck'), @Experimental(), read / write, inherited
styleCssStyleDeclaration
@DocsEditable(), @DomName('HTMLElement.style'), @Experimental(), read-only, inherited
tabIndexint
@DocsEditable(), @DomName('HTMLElement.tabIndex'), 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
@DocsEditable(), @DomName('HTMLElement.title'), read / write, inherited
translatebool
@DocsEditable(), @DomName('HTMLElement.translate'), read / write, inherited
treeRootNode
@DocsEditable(), @DomName('Node.treeRoot'), @Experimental(), 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

getDistributedNodes() → List<Node>
@DocsEditable(), @DomName('HTMLShadowElement.getDistributedNodes'), @Experimental()
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('HTMLElement.blur'), @Experimental(), inherited
click() → void
@DocsEditable(), @DomName('HTMLElement.click'), 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 html, { 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('HTMLElement.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
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.

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.

hasChildNodes() → bool
@DocsEditable(), @DomName('Node.hasChildNodes'), inherited

Returns true if this node has any children.

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

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

insertAdjacentText(String where, String text) → void
@DocsEditable(), @DomName('Element.insertAdjacentText'), @Experimental(), 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-html/ShadowElement-class.html