Not documented.
- Inheritance
- Object
- EventTarget
- Node
- Element
- SvgElement
- Implements
- Implemented by
- AnimationElement
- DescElement
- DiscardElement
- FEBlendElement
- FEColorMatrixElement
- FEComponentTransferElement
- FECompositeElement
- FEConvolveMatrixElement
- FEDiffuseLightingElement
- FEDisplacementMapElement
- FEDistantLightElement
- FEFloodElement
- FEGaussianBlurElement
- FEImageElement
- FEMergeElement
- FEMergeNodeElement
- FEMorphologyElement
- FEOffsetElement
- FEPointLightElement
- FESpecularLightingElement
- FESpotLightElement
- FETileElement
- FETurbulenceElement
- FilterElement
- GraphicsElement
- MarkerElement
- MaskElement
- MetadataElement
- PatternElement
- ScriptElement
- StopElement
- StyleElement
- SymbolElement
- TitleElement
- ViewElement
- Annotations
- DomName('SVGElement')
- Unstable()
Constants
-
EventStreamProvider<Event>
abortEvent
= const EventStreamProvider<Event>
('abort') -
const
-
EventStreamProvider<Event>
blurEvent
= const EventStreamProvider<Event>
('blur') -
const
-
EventStreamProvider<Event>
canPlayEvent
= const EventStreamProvider<Event>
('canplay') -
const
-
EventStreamProvider<Event>
canPlayThroughEvent
= const EventStreamProvider<Event>
('canplaythrough') -
const
-
EventStreamProvider<Event>
changeEvent
= const EventStreamProvider<Event>
('change') -
const
-
EventStreamProvider<MouseEvent>
clickEvent
= const EventStreamProvider<MouseEvent>
('click') -
const
-
EventStreamProvider<MouseEvent>
contextMenuEvent
= const EventStreamProvider<MouseEvent>
('contextmenu') -
const
-
EventStreamProvider<Event>
doubleClickEvent
= const EventStreamProvider<Event>
('dblclick') -
const
-
EventStreamProvider<MouseEvent>
dragEndEvent
= const EventStreamProvider<MouseEvent>
('dragend') -
const
-
EventStreamProvider<MouseEvent>
dragEnterEvent
= const EventStreamProvider<MouseEvent>
('dragenter') -
const
-
EventStreamProvider<MouseEvent>
dragEvent
= const EventStreamProvider<MouseEvent>
('drag') -
const
-
EventStreamProvider<MouseEvent>
dragLeaveEvent
= const EventStreamProvider<MouseEvent>
('dragleave') -
const
-
EventStreamProvider<MouseEvent>
dragOverEvent
= const EventStreamProvider<MouseEvent>
('dragover') -
const
-
EventStreamProvider<MouseEvent>
dragStartEvent
= const EventStreamProvider<MouseEvent>
('dragstart') -
const
-
EventStreamProvider<MouseEvent>
dropEvent
= const EventStreamProvider<MouseEvent>
('drop') -
const
-
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
-
EventStreamProvider<Event>
focusEvent
= const EventStreamProvider<Event>
('focus') -
const
-
EventStreamProvider<Event>
inputEvent
= const EventStreamProvider<Event>
('input') -
const
-
EventStreamProvider<Event>
invalidEvent
= const EventStreamProvider<Event>
('invalid') -
const
-
EventStreamProvider<KeyboardEvent>
keyDownEvent
= const EventStreamProvider<KeyboardEvent>
('keydown') -
const
-
EventStreamProvider<KeyboardEvent>
keyPressEvent
= const EventStreamProvider<KeyboardEvent>
('keypress') -
const
-
EventStreamProvider<KeyboardEvent>
keyUpEvent
= const EventStreamProvider<KeyboardEvent>
('keyup') -
const
-
EventStreamProvider<Event>
loadedDataEvent
= const EventStreamProvider<Event>
('loadeddata') -
const
-
EventStreamProvider<Event>
loadedMetadataEvent
= const EventStreamProvider<Event>
('loadedmetadata') -
const
-
EventStreamProvider<Event>
loadEvent
= const EventStreamProvider<Event>
('load') -
const
-
EventStreamProvider<MouseEvent>
mouseDownEvent
= const EventStreamProvider<MouseEvent>
('mousedown') -
const
-
EventStreamProvider<MouseEvent>
mouseEnterEvent
= const EventStreamProvider<MouseEvent>
('mouseenter') -
const
-
EventStreamProvider<MouseEvent>
mouseLeaveEvent
= const EventStreamProvider<MouseEvent>
('mouseleave') -
const
-
EventStreamProvider<MouseEvent>
mouseMoveEvent
= const EventStreamProvider<MouseEvent>
('mousemove') -
const
-
EventStreamProvider<MouseEvent>
mouseOutEvent
= const EventStreamProvider<MouseEvent>
('mouseout') -
const
-
EventStreamProvider<MouseEvent>
mouseOverEvent
= const EventStreamProvider<MouseEvent>
('mouseover') -
const
-
EventStreamProvider<MouseEvent>
mouseUpEvent
= const EventStreamProvider<MouseEvent>
('mouseup') -
const
-
EventStreamProvider<WheelEvent>
mouseWheelEvent
= const EventStreamProvider<WheelEvent>
('mousewheel') -
const
-
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
-
EventStreamProvider<Event>
resizeEvent
= const EventStreamProvider<Event>
('resize') -
const
-
EventStreamProvider<Event>
scrollEvent
= const EventStreamProvider<Event>
('scroll') -
const
-
EventStreamProvider<Event>
seekedEvent
= const EventStreamProvider<Event>
('seeked') -
const
-
EventStreamProvider<Event>
seekingEvent
= const EventStreamProvider<Event>
('seeking') -
const
-
EventStreamProvider<Event>
selectEvent
= const EventStreamProvider<Event>
('select') -
const
-
EventStreamProvider<Event>
stalledEvent
= const EventStreamProvider<Event>
('stalled') -
const
-
EventStreamProvider<Event>
submitEvent
= const EventStreamProvider<Event>
('submit') -
const
-
EventStreamProvider<Event>
suspendEvent
= const EventStreamProvider<Event>
('suspend') -
const
-
EventStreamProvider<Event>
timeUpdateEvent
= const EventStreamProvider<Event>
('timeupdate') -
const
-
EventStreamProvider<Event>
volumeChangeEvent
= const EventStreamProvider<Event>
('volumechange') -
const
-
EventStreamProvider<Event>
waitingEvent
= const EventStreamProvider<Event>
('waiting') -
const
Static Methods
-
isTagSupported(
String tag) → bool -
Checks to see if the SVG element type is supported by the current platform.…
Properties
- attributes → Map<String,String>
-
read / write, inherited
All attributes on this element.…
- baseUri → String
-
read-only, inherited
- borderEdge → CssRect
-
read-only, inherited
Access the dimensions and position of this element's content + padding + border box.…
- childNodes → List<Node>
-
read-only, inherited
A list of this node's children.…
- children → List<Element>
-
read / write
- children → List<Element>
-
read / write, inherited
List of the direct children of this element.…
- classes → CssClassSet
-
read-only
- classes → CssClassSet
-
read / write, inherited
The set of CSS classes applied to this element.…
- className → String
-
read / write, inherited
- client → Rectangle
-
read-only, inherited
Gets the position of this element relative to the client area of the page.
- clientHeight → int
-
read-only, inherited
- clientLeft → int
-
read-only, inherited
- clientTop → int
-
read-only, inherited
- clientWidth → int
-
read-only, inherited
- contentEdge → CssRect
-
read-only, inherited
Access this element's content position.…
- contentEditable → String
-
read / write, inherited
- contextMenu → MenuElement
-
read / write, inherited
- dataset → Map<String,String>
-
read / write, inherited
Allows access to all custom data attributes (data-*) set on this element.…
- dir → String
-
read / write, inherited
- documentOffset → Point
-
read-only, inherited
Provides the coordinates of the element relative to the top of the document.…
- draggable → bool
-
read / write, inherited
- dropzone → String
-
read / write, inherited
- firstChild → Node
-
read-only, inherited
The first child of this node.…
-
read / write, inherited
- id → String
-
read / write, inherited
- innerHtml → String
-
read / write
- innerHtml → String
-
read / write, inherited
Parses the HTML fragment and sets it as the contents of this element.…
- isContentEditable → bool
-
read-only
- lang → String
-
read / write, inherited
- lastChild → Node
-
read-only, inherited
The last child of this node.…
- localName → String
-
read-only, inherited
- marginEdge → CssRect
-
read-only, inherited
Access the dimensions and position of this element's content + padding + border + margin box.…
- namespaceUri → String
-
read-only, inherited
A URI that identifies the XML namespace of this element.…
- nextElementSibling → Element
-
read-only, inherited
- nextNode → Node
-
read-only, inherited
The next sibling node.…
- nodeName → String
-
read-only, inherited
The name of this node.…
- nodes → List<Node>
-
read / write, inherited
A modifiable list of this node's children.
- nodeType → int
-
read-only, inherited
The type of node.…
- nodeValue → String
-
read-only, inherited
The value of this node.…
- offset → Rectangle
-
read-only, inherited
Gets the offset of this element relative to its offsetParent.
- offsetHeight → int
-
read-only, inherited
- offsetLeft → int
-
read-only, inherited
- offsetParent → Element
-
read-only, inherited
- offsetTop → int
-
read-only, inherited
- offsetWidth → int
-
read-only, inherited
- on → ElementEvents
-
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.
- onAbort → ElementStream<Event>
-
read-only
- onBeforeCopy → ElementStream<Event>
-
read-only, inherited
Stream of
beforecopy
events handled by thisElement
. - onBeforeCut → ElementStream<Event>
-
read-only, inherited
Stream of
beforecut
events handled by thisElement
. - onBeforePaste → ElementStream<Event>
-
read-only, inherited
Stream of
beforepaste
events handled by thisElement
. - onBlur → ElementStream<Event>
-
read-only
- onCanPlay → ElementStream<Event>
-
read-only
- onCanPlayThrough → ElementStream<Event>
-
read-only
- onChange → ElementStream<Event>
-
read-only
- onClick → ElementStream<MouseEvent>
-
read-only
- onContextMenu → ElementStream<MouseEvent>
-
read-only
- onCopy → ElementStream<Event>
-
read-only, inherited
Stream of
copy
events handled by thisElement
. - onCut → ElementStream<Event>
-
read-only, inherited
Stream of
cut
events handled by thisElement
. - onDoubleClick → ElementStream<Event>
-
read-only
- onDrag → ElementStream<MouseEvent>
-
read-only
- onDragEnd → ElementStream<MouseEvent>
-
read-only
- onDragEnter → ElementStream<MouseEvent>
-
read-only
- onDragLeave → ElementStream<MouseEvent>
-
read-only
- onDragOver → ElementStream<MouseEvent>
-
read-only
- onDragStart → ElementStream<MouseEvent>
-
read-only
- onDrop → ElementStream<MouseEvent>
-
read-only
- onDurationChange → ElementStream<Event>
-
read-only
- onEmptied → ElementStream<Event>
-
read-only
- onEnded → ElementStream<Event>
-
read-only
- onError → ElementStream<Event>
-
read-only
- onFocus → ElementStream<Event>
-
read-only
- onFullscreenChange → ElementStream<Event>
-
read-only, inherited
Stream of
fullscreenchange
events handled by thisElement
. - onFullscreenError → ElementStream<Event>
-
read-only, inherited
Stream of
fullscreenerror
events handled by thisElement
. - onInput → ElementStream<Event>
-
read-only
- onInvalid → ElementStream<Event>
-
read-only
- onKeyDown → ElementStream<KeyboardEvent>
-
read-only
- onKeyPress → ElementStream<KeyboardEvent>
-
read-only
- onKeyUp → ElementStream<KeyboardEvent>
-
read-only
- onLoad → ElementStream<Event>
-
read-only
- onLoadedData → ElementStream<Event>
-
read-only
- onLoadedMetadata → ElementStream<Event>
-
read-only
- onMouseDown → ElementStream<MouseEvent>
-
read-only
- onMouseEnter → ElementStream<MouseEvent>
-
read-only
- onMouseLeave → ElementStream<MouseEvent>
-
read-only
- onMouseMove → ElementStream<MouseEvent>
-
read-only
- onMouseOut → ElementStream<MouseEvent>
-
read-only
- onMouseOver → ElementStream<MouseEvent>
-
read-only
- onMouseUp → ElementStream<MouseEvent>
-
read-only
- onMouseWheel → ElementStream<WheelEvent>
-
read-only
- onPaste → ElementStream<Event>
-
read-only, inherited
Stream of
paste
events handled by thisElement
. - onPause → ElementStream<Event>
-
read-only
- onPlay → ElementStream<Event>
-
read-only
- onPlaying → ElementStream<Event>
-
read-only
- onRateChange → ElementStream<Event>
-
read-only
- onReset → ElementStream<Event>
-
read-only
- onResize → ElementStream<Event>
-
read-only
- onScroll → ElementStream<Event>
-
read-only
- onSearch → ElementStream<Event>
-
read-only, inherited
Stream of
search
events handled by thisElement
. - onSeeked → ElementStream<Event>
-
read-only
- onSeeking → ElementStream<Event>
-
read-only
- onSelect → ElementStream<Event>
-
read-only
- onSelectStart → ElementStream<Event>
-
read-only, inherited
Stream of
selectstart
events handled by thisElement
. - onStalled → ElementStream<Event>
-
read-only
- onSubmit → ElementStream<Event>
-
read-only
- onSuspend → ElementStream<Event>
-
read-only
- onTimeUpdate → ElementStream<Event>
-
read-only
- onTouchCancel → ElementStream<TouchEvent>
-
read-only, inherited
Stream of
touchcancel
events handled by thisElement
. - onTouchEnd → ElementStream<TouchEvent>
-
read-only, inherited
Stream of
touchend
events handled by thisElement
. - onTouchEnter → ElementStream<TouchEvent>
-
read-only, inherited
Stream of
touchenter
events handled by thisElement
. - onTouchLeave → ElementStream<TouchEvent>
-
read-only, inherited
Stream of
touchleave
events handled by thisElement
. - onTouchMove → ElementStream<TouchEvent>
-
read-only, inherited
Stream of
touchmove
events handled by thisElement
. - onTouchStart → ElementStream<TouchEvent>
-
read-only, inherited
Stream of
touchstart
events handled by thisElement
. - onTransitionEnd → ElementStream<TransitionEvent>
-
read-only, inherited
Stream of
transitionend
events handled by thisElement
. - onVolumeChange → ElementStream<Event>
-
read-only
- onWaiting → ElementStream<Event>
-
read-only
- outerHtml → String
-
read-only
- ownerDocument → Document
-
read-only, inherited
The document this node belongs to.…
- ownerSvgElement → SvgSvgElement
-
read-only
- paddingEdge → CssRect
-
read-only, inherited
Access the dimensions and position of this element's content + padding box.…
- parent → Element
-
read-only, inherited
The parent element of this node.…
- parentNode → Node
-
read-only, inherited
The parent node of this node.…
- previousElementSibling → Element
-
read-only, inherited
- previousNode → Node
-
read-only, inherited
The previous sibling node.…
- scrollHeight → int
-
read-only, inherited
- scrollLeft → int
-
read / write, inherited
- scrollTop → int
-
read / write, inherited
- scrollWidth → int
-
read-only, inherited
- shadowRoot → ShadowRoot
-
read-only, inherited
- spellcheck → bool
-
read / write, inherited
- style → CssStyleDeclaration
-
read-only
- tabIndex → int
-
read / write
- tabIndex → int
-
read / write, inherited
- tagName → String
-
read-only, inherited
- text → String
-
read / write, inherited
All text within this node and its decendents.…
- title → String
-
read / write, inherited
- translate → bool
-
read / write, inherited
- viewportElement → SvgElement
-
read-only
- xmlbase → String
-
read / write
- xmllang → String
-
read / write
- xmlspace → String
-
read / write
- 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.…
Constructors
- SvgElement.created()
-
Constructor instantiated by the DOM when a custom element has been created.…
- SvgElement.svg(String svg, {NodeValidator validator, NodeTreeSanitizer treeSanitizer})
- SvgElement.tag(String tag)
Methods
-
addEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
animate(
Object effect, [Object timing]) → AnimationPlayer -
inherited
-
append(
Node newChild) → Node -
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 -
inherited
Called by the DOM when this element has been inserted into the live document.…
-
attributeChanged(
String name, String oldValue, String newValue) → void -
inherited
Called by the DOM whenever an attribute on this has been changed.
-
blur(
) → void -
inherited
-
click(
) → void -
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.…
-
createFragment(
String svg, {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.…
-
createShadowRoot(
) → ShadowRoot -
inherited
-
detached(
) → void -
inherited
Called by the DOM when this element has been removed from the live document.…
-
dispatchEvent(
Event event) → bool -
inherited
-
enteredView(
) → void -
inherited
Deprecated*: override attached instead.
-
focus(
) → void -
inherited
-
getAnimationPlayers(
) → List<AnimationPlayer> -
inherited
-
getAttribute(
String name) → String -
inherited
-
getAttributeNS(
String namespaceURI, String localName) → String -
inherited
-
getBoundingClientRect(
) → Rectangle -
inherited
Returns the smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.…
-
getClientRects(
) → List<Rectangle> -
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> -
inherited
Returns a list of shadow DOM insertion points to which this element is distributed.…
-
getElementsByClassName(
String classNames) → List<Node> -
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 -
inherited
Returns true if this node has any children.…
-
insertAdjacentElement(
String where, Element element) → Element -
insertAdjacentHtml(
String where, String text, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void -
Parses text as an HTML fragment and inserts it into the DOM at the specified location.…
-
insertAdjacentText(
String where, String text) → void -
insertAllBefore(
Iterable<Node> newNodes, Node refChild) → Node -
inherited
Inserts all of the nodes into this node directly before refChild.…
-
insertBefore(
Node newChild, Node refChild) → Node -
inherited
Inserts all of the nodes into this node directly before refChild.…
-
leftView(
) → void -
inherited
Deprecated*: override detached instead.
-
matches(
String selectors) → bool -
inherited
-
matchesWithAncestors(
String selectors) → bool -
inherited
Checks if this element or any of its parents match the CSS selectors.
-
offsetTo(
Element parent) → Point -
inherited
Provides the offset of this element's borderEdge relative to the specified
parent
.… -
query(
String relativeSelectors) → Element -
inherited
Alias for querySelector. Note this function is deprecated because its semantics will be changing in the future.
-
queryAll(
String relativeSelectors) → ElementList<Element> -
inherited
Alias for querySelectorAll. Note this function is deprecated because its semantics will be changing in the future.
-
querySelector(
String selectors) → Element -
inherited
Finds the first descendant element of this element that matches the specified group of selectors.…
-
querySelectorAll(
String selectors) → ElementList<Element> -
inherited
Finds all descendent elements of this element that match the specified group of selectors.…
-
remove(
) → void -
inherited
Removes this node from the DOM.
-
removeEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
replaceWith(
Node otherNode) → Node -
inherited
Replaces this node with another node.
-
requestFullscreen(
) → void -
inherited
-
requestPointerLock(
) → void -
inherited
-
scrollIntoView(
[ScrollAlignment alignment]) → void -
inherited
Scrolls this element into view.…
-
setAttribute(
String name, String value) → void -
inherited
-
setAttributeNS(
String namespaceURI, String qualifiedName, String value) → void -
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.…