SVGPathElement extension type
The SVGPathElement
interface corresponds to the element.
Note: In SVG 2 the
getPathSegAtLength()
andcreateSVGPathSeg*
methods were removed and thepathLength
property and thegetTotalLength()
andgetPointAtLength()
methods were moved to SVGGeometryElement.
- on
- Implemented types
- Available extensions
Constructors
- SVGPathElement()
- Creates an SVGPathElement using the tag 'path'.
Properties
- assignedSlot → HTMLSlotElement?
-
no setterinherited
- attributes → NamedNodeMap
-
no setterinherited
- attributeStyleMap → StylePropertyMap
-
no setterinherited
- autofocus ↔ bool
-
getter/setter pairinherited
- baseURI → String
-
no setterinherited
- childElementCount → int
-
no setterinherited
- childNodes → NodeList
-
no setterinherited
- children → HTMLCollection
-
no setterinherited
- classList → DOMTokenList
-
no setterinherited
- className → SVGAnimatedString
-
Available on SVGElement, provided by the SVGElementExtension extension
no setter - className ↔ String
-
getter/setter pairinherited
- clientHeight → int
-
no setterinherited
- clientLeft → int
-
no setterinherited
- clientTop → int
-
no setterinherited
- clientWidth → int
-
no setterinherited
- correspondingElement → SVGElement?
-
no setterinherited
- correspondingUseElement → SVGUseElement?
-
no setterinherited
- dataset → DOMStringMap
-
no setterinherited
- firstChild → Node?
-
no setterinherited
- firstElementChild → Element?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pairinherited
- innerHTML ↔ String
-
getter/setter pairinherited
- isConnected → bool
-
no setterinherited
- isDefinedAndNotNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - isNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptnull
.no setter - isTruthy → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!!
in JavaScript.this
no setter - isUndefined → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptundefined
.no setter - isUndefinedOrNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - lastChild → Node?
-
no setterinherited
- lastElementChild → Element?
-
no setterinherited
- localName → String
-
no setterinherited
- namespaceURI → String?
-
no setterinherited
- nextElementSibling → Element?
-
no setterinherited
- nextSibling → Node?
-
no setterinherited
- nodeName → String
-
no setterinherited
- nodeType → int
-
no setterinherited
- nodeValue ↔ String?
-
getter/setter pairinherited
- nonce ↔ String
-
getter/setter pairinherited
- not → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!
in JavaScript.this
no setter -
onAbort
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onabort ↔ EventHandler?
-
getter/setter pairinherited
- onanimationcancel ↔ EventHandler?
-
getter/setter pairinherited
- onanimationend ↔ EventHandler?
-
getter/setter pairinherited
- onanimationiteration ↔ EventHandler?
-
getter/setter pairinherited
- onanimationstart ↔ EventHandler?
-
getter/setter pairinherited
- onauxclick ↔ EventHandler?
-
getter/setter pairinherited
-
onBeforeCopy
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onBeforeCut
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onbeforeinput ↔ EventHandler?
-
getter/setter pairinherited
- onbeforematch ↔ EventHandler?
-
getter/setter pairinherited
-
onBeforePaste
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onbeforetoggle ↔ EventHandler?
-
getter/setter pairinherited
- onblur ↔ EventHandler?
-
getter/setter pairinherited
-
onBlur
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncancel ↔ EventHandler?
-
getter/setter pairinherited
- oncanplay ↔ EventHandler?
-
getter/setter pairinherited
-
onCanPlay
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onCanPlayThrough
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncanplaythrough ↔ EventHandler?
-
getter/setter pairinherited
-
onChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onchange ↔ EventHandler?
-
getter/setter pairinherited
- onclick ↔ EventHandler?
-
getter/setter pairinherited
-
onClick
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onclose ↔ EventHandler?
-
getter/setter pairinherited
- oncontextlost ↔ EventHandler?
-
getter/setter pairinherited
-
getter/setter pairinherited
-
onContextMenu
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncontextrestored ↔ EventHandler?
-
getter/setter pairinherited
-
onCopy
→ ElementStream<
ClipboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncopy ↔ EventHandler?
-
getter/setter pairinherited
- oncuechange ↔ EventHandler?
-
getter/setter pairinherited
-
onCut
→ ElementStream<
ClipboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncut ↔ EventHandler?
-
getter/setter pairinherited
- ondblclick ↔ EventHandler?
-
getter/setter pairinherited
-
onDoubleClick
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondrag ↔ EventHandler?
-
getter/setter pairinherited
-
onDrag
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragend ↔ EventHandler?
-
getter/setter pairinherited
-
onDragEnd
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onDragEnter
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragenter ↔ EventHandler?
-
getter/setter pairinherited
- ondragleave ↔ EventHandler?
-
getter/setter pairinherited
-
onDragLeave
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragover ↔ EventHandler?
-
getter/setter pairinherited
-
onDragOver
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onDragStart
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragstart ↔ EventHandler?
-
getter/setter pairinherited
-
onDrop
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondrop ↔ EventHandler?
-
getter/setter pairinherited
-
onDurationChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondurationchange ↔ EventHandler?
-
getter/setter pairinherited
-
onEmptied
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onemptied ↔ EventHandler?
-
getter/setter pairinherited
-
onEnded
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onended ↔ EventHandler?
-
getter/setter pairinherited
- onerror ↔ OnErrorEventHandler?
-
getter/setter pairinherited
-
onError
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onfocus ↔ EventHandler?
-
getter/setter pairinherited
-
onFocus
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onformdata ↔ EventHandler?
-
getter/setter pairinherited
-
onFullscreenChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onFullscreenError
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - ongotpointercapture ↔ EventHandler?
-
getter/setter pairinherited
-
onInput
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - oninput ↔ EventHandler?
-
getter/setter pairinherited
-
onInvalid
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - oninvalid ↔ EventHandler?
-
getter/setter pairinherited
-
onKeyDown
→ ElementStream<
KeyboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onkeydown ↔ EventHandler?
-
getter/setter pairinherited
-
onKeyPress
→ ElementStream<
KeyboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onkeypress ↔ EventHandler?
-
getter/setter pairinherited
-
onKeyUp
→ ElementStream<
KeyboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onkeyup ↔ EventHandler?
-
getter/setter pairinherited
-
onLoad
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onload ↔ EventHandler?
-
getter/setter pairinherited
-
onLoadedData
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onloadeddata ↔ EventHandler?
-
getter/setter pairinherited
-
onLoadedMetadata
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onloadedmetadata ↔ EventHandler?
-
getter/setter pairinherited
- onloadstart ↔ EventHandler?
-
getter/setter pairinherited
- onlostpointercapture ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseDown
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmousedown ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseEnter
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseenter ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseLeave
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseleave ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseMove
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmousemove ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseOut
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseout ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseOver
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseover ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseUp
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseup ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseWheel
→ ElementStream<
WheelEvent> -
Available on Element, provided by the ElementCustomEvents extension
no setter - onpaste ↔ EventHandler?
-
getter/setter pairinherited
-
onPaste
→ ElementStream<
ClipboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onpause ↔ EventHandler?
-
getter/setter pairinherited
-
onPause
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onPlay
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onplay ↔ EventHandler?
-
getter/setter pairinherited
- onplaying ↔ EventHandler?
-
getter/setter pairinherited
-
onPlaying
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onpointercancel ↔ EventHandler?
-
getter/setter pairinherited
- onpointerdown ↔ EventHandler?
-
getter/setter pairinherited
- onpointerenter ↔ EventHandler?
-
getter/setter pairinherited
- onpointerleave ↔ EventHandler?
-
getter/setter pairinherited
- onpointermove ↔ EventHandler?
-
getter/setter pairinherited
- onpointerout ↔ EventHandler?
-
getter/setter pairinherited
- onpointerover ↔ EventHandler?
-
getter/setter pairinherited
- onpointerrawupdate ↔ EventHandler?
-
getter/setter pairinherited
- onpointerup ↔ EventHandler?
-
getter/setter pairinherited
- onprogress ↔ EventHandler?
-
getter/setter pairinherited
- onratechange ↔ EventHandler?
-
getter/setter pairinherited
-
onRateChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onReset
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onreset ↔ EventHandler?
-
getter/setter pairinherited
-
onResize
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onresize ↔ EventHandler?
-
getter/setter pairinherited
-
onScroll
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onscroll ↔ EventHandler?
-
getter/setter pairinherited
- onscrollend ↔ EventHandler?
-
getter/setter pairinherited
-
onSearch
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onsecuritypolicyviolation ↔ EventHandler?
-
getter/setter pairinherited
-
onSeeked
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onseeked ↔ EventHandler?
-
getter/setter pairinherited
-
onSeeking
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onseeking ↔ EventHandler?
-
getter/setter pairinherited
-
onSelect
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onselect ↔ EventHandler?
-
getter/setter pairinherited
- onselectionchange ↔ EventHandler?
-
getter/setter pairinherited
- onselectstart ↔ EventHandler?
-
getter/setter pairinherited
-
onSelectStart
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onslotchange ↔ EventHandler?
-
getter/setter pairinherited
-
onStalled
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onstalled ↔ EventHandler?
-
getter/setter pairinherited
- onsubmit ↔ EventHandler?
-
getter/setter pairinherited
-
onSubmit
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onSuspend
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onsuspend ↔ EventHandler?
-
getter/setter pairinherited
-
onTimeUpdate
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontimeupdate ↔ EventHandler?
-
getter/setter pairinherited
- ontoggle ↔ EventHandler?
-
getter/setter pairinherited
-
onTouchCancel
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontouchcancel ↔ EventHandler?
-
getter/setter pairinherited
-
onTouchEnd
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontouchend ↔ EventHandler?
-
getter/setter pairinherited
-
onTouchEnter
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onTouchLeave
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onTouchMove
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontouchmove ↔ EventHandler?
-
getter/setter pairinherited
-
onTouchStart
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontouchstart ↔ EventHandler?
-
getter/setter pairinherited
- ontransitioncancel ↔ EventHandler?
-
getter/setter pairinherited
-
onTransitionEnd
→ ElementStream<
TransitionEvent> -
Available on Element, provided by the ElementCustomEvents extension
no setter - ontransitionend ↔ EventHandler?
-
getter/setter pairinherited
- ontransitionrun ↔ EventHandler?
-
getter/setter pairinherited
- ontransitionstart ↔ EventHandler?
-
getter/setter pairinherited
-
onVolumeChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onvolumechange ↔ EventHandler?
-
getter/setter pairinherited
-
onWaiting
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onwaiting ↔ EventHandler?
-
getter/setter pairinherited
-
onWebGlContextLost
→ ElementStream<
WebGLContextEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onWebGlContextRestored
→ ElementStream<
WebGLContextEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onwebkitanimationend ↔ EventHandler?
-
getter/setter pairinherited
- onwebkitanimationiteration ↔ EventHandler?
-
getter/setter pairinherited
- onwebkitanimationstart ↔ EventHandler?
-
getter/setter pairinherited
- onwebkittransitionend ↔ EventHandler?
-
getter/setter pairinherited
- onwheel ↔ EventHandler?
-
getter/setter pairinherited
-
onWheel
→ ElementStream<
WheelEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - outerHTML ↔ String
-
getter/setter pairinherited
- ownerDocument → Document?
-
no setterinherited
- ownerSVGElement → SVGSVGElement?
-
no setterinherited
- parentElement → Element?
-
no setterinherited
- parentNode → Node?
-
no setterinherited
- pathLength → SVGAnimatedNumber
-
no setterinherited
- prefix → String?
-
no setterinherited
- previousElementSibling → Element?
-
no setterinherited
- previousSibling → Node?
-
no setterinherited
- requiredExtensions → SVGStringList
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollHeight → int
-
no setterinherited
- scrollLeft ↔ num
-
getter/setter pairinherited
- scrollTop ↔ num
-
getter/setter pairinherited
- scrollWidth → int
-
no setterinherited
- shadowRoot → ShadowRoot?
-
no setterinherited
- slot ↔ String
-
getter/setter pairinherited
- style → CSSStyleDeclaration
-
no setterinherited
- systemLanguage → SVGStringList
-
no setterinherited
- tabIndex ↔ int
-
getter/setter pairinherited
- tagName → String
-
no setterinherited
- text ← String
-
Available on Node, provided by the NodeGlue extension
no getter - textContent ↔ String?
-
getter/setter pairinherited
- transform → SVGAnimatedTransformList
-
no setterinherited
- viewportElement → SVGElement?
-
no setterinherited
Methods
-
add(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
+any
-
addEventListener(
String type, EventListener? callback, [JSAny options]) → void -
The
addEventListener()
method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.inherited -
after(
JSAny nodes) → void -
The
Element.after()
method inserts a set of Node or string objects in the children list of theElement
's parent, just after theElement
. String objects are inserted as equivalent Text nodes.inherited -
and(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
&&any
-
animate(
JSObject? keyframes, [JSAny options]) → Animation -
The Element interface's
animate()
method is a shortcut method which creates a new Animation, applies it to the element, then plays the animation. It returns the created Animation object instance.inherited -
append(
JSAny nodes) → void -
The
Element.append()
method inserts a set of Node objects or string objects after the last child of theElement
. String objects are inserted as equivalent Text nodes.inherited -
append(
Node other) → Node -
appendChild(
Node node) → Node -
The
appendChild()
method of the Node interface adds a node to the end of the list of children of a specified parent node.inherited -
attachShadow(
ShadowRootInit init) → ShadowRoot -
The
Element.attachShadow()
method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.inherited -
before(
JSAny nodes) → void -
The
Element.before()
method inserts a set of Node or string objects in the children list of thisElement
's parent, just before thisElement
. String objects are inserted as equivalent Text nodes.inherited -
blur(
) → void -
inherited
-
callMethod<
R extends JSAny?> (JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethod
on this JSObject with up to four arguments. -
callMethodVarArgs<
R extends JSAny?> (JSAny method, [List< JSAny?> ? arguments]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethod
on this JSObject with a variable number ofarguments
. -
checkVisibility(
[CheckVisibilityOptions options]) → bool -
The
checkVisibility()
method of the Element interface checks whether the element is visible.inherited -
clone(
bool? deep) → Node -
cloneNode(
[bool deep]) → Node -
The
cloneNode()
method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in a node is also cloned or not.inherited -
closest(
String selectors) → Element? -
The
closest()
method of the Element interface traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.inherited -
compareDocumentPosition(
Node other) → int -
The
compareDocumentPosition()
method of the Node interface reports the position of its argument node relative to the node on which it is called.inherited -
computedStyleMap(
) → StylePropertyMapReadOnly -
The
computedStyleMap()
method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.inherited -
contains(
Node? other) → bool -
The
contains()
method of the Node interface returns a boolean value indicating whether a node is a descendant of a given node, that is the node itself, one of its direct children (Node.childNodes), one of the children's direct children, and so on.inherited -
convertPointFromNode(
DOMPointInit point, GeometryNode from, [ConvertCoordinateOptions options]) → DOMPoint -
inherited
-
convertQuadFromNode(
DOMQuadInit quad, GeometryNode from, [ConvertCoordinateOptions options]) → DOMQuad -
inherited
-
convertRectFromNode(
DOMRectReadOnly rect, GeometryNode from, [ConvertCoordinateOptions options]) → DOMQuad -
inherited
-
dartify(
) → Object? -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Converts a JavaScript value to the Dart equivalent if possible. -
delete(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Deletes the property with keyproperty
from this JSObject. -
dispatchEvent(
Event event) → bool -
The
dispatchEvent()
method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually withdispatchEvent()
.inherited -
divide(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
/any
-
equals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
==any
-
exponentiate(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
**any
-
focus(
[FocusOptions options]) → void -
inherited
-
getAnimations(
[GetAnimationsOptions options]) → JSArray< Animation> -
The
getAnimations()
method of the Element interface (specified on theAnimatable
mixin) returns an array of all Animation objects affecting this element or which are scheduled to do so in future. It can optionally return Animation objects for descendant elements too.inherited -
getAttribute(
String qualifiedName) → String? -
The
getAttribute()
method of the Element interface returns the value of a specified attribute on the element.inherited -
getAttributeNames(
) → JSArray< JSString> -
The
getAttributeNames()
method of the Element interface returns the attribute names of the element as anArray
of strings. If the element has no attributes it returns an empty array.inherited -
getAttributeNode(
String qualifiedName) → Attr? -
Returns the specified attribute of the specified element, as an Attr
node.
inherited
-
getAttributeNodeNS(
String? namespace, String localName) → Attr? -
The
getAttributeNodeNS()
method of the Element interface returns the namespaced Attr node of an element.inherited -
getAttributeNS(
String? namespace, String localName) → String? -
The
getAttributeNS()
method of the Element interface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either benull
or""
(the empty string); see Notes for details.inherited -
getBBox(
[SVGBoundingBoxOptions options]) → DOMRect -
The
SVGGraphicsElement.getBBox()
method allows us to determine the coordinates of the smallest rectangle in which the object fits. The coordinates returned are with respect to the current SVG space (after the application of all geometry attributes on all the elements contained in the target element).inherited -
getBoundingClientRect(
) → DOMRect -
The
Element.getBoundingClientRect()
method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.inherited -
getBoxQuads(
[BoxQuadOptions options]) → JSArray< DOMQuad> -
inherited
-
getClientRects(
) → DOMRectList -
The
getClientRects()
method of the Element interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.inherited -
getCTM(
) → DOMMatrix? -
inherited
-
getElementsByClassName(
String classNames) → HTMLCollection -
The Element method
getElementsByClassName()
returns a live HTMLCollection which contains every descendant element which has the specified class name or names.inherited -
getElementsByTagName(
String qualifiedName) → HTMLCollection -
The
Element.getElementsByTagName()
method returns a live HTMLCollection of elements with the given tag name.inherited -
getElementsByTagNameNS(
String? namespace, String localName) → HTMLCollection -
The
Element.getElementsByTagNameNS()
method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.inherited -
getPointAtLength(
num distance) → DOMPoint -
The
SVGGeometryElement.getPointAtLength()
method returns the point at a given distance along the path.inherited -
getProperty<
R extends JSAny?> (JSAny property) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
The value of the property keyproperty
of this JSObject. -
getRootNode(
[GetRootNodeOptions options]) → Node -
The
getRootNode()
method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.inherited -
getScreenCTM(
) → DOMMatrix? -
inherited
-
getTotalLength(
) → num -
The
SVGGeometryElement.getTotalLength()
method returns the user agent's computed value for the total length of the path in user units.inherited -
greaterThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>any
-
greaterThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>=any
-
has(
String property) → bool -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for hasProperty to check whether this JSObject contains the property keyproperty
, but takes and returns a Dart value. -
hasAttribute(
String qualifiedName) → bool -
The
Element.hasAttribute()
method returns a Boolean value indicating whether the specified element has the specified attribute or not.inherited -
hasAttributeNS(
String? namespace, String localName) → bool -
The
hasAttributeNS()
method of the Element interface returns a boolean value indicating whether the current element has the specified attribute with the specified namespace.inherited -
hasAttributes(
) → bool -
The
hasAttributes()
method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.inherited -
hasChildNodes(
) → bool -
The
hasChildNodes()
method of the Node interface returns a boolean value indicating whether the given Node has child nodes or not.inherited -
hasPointerCapture(
int pointerId) → bool -
The
hasPointerCapture()
method of the Element interface checks whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.inherited -
hasProperty(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Whether or not this JSObject contains the property keyproperty
. -
insertAdjacentElement(
String where, Element element) → Element? -
The
insertAdjacentElement()
method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.inherited -
insertAdjacentHTML(
String position, String text) → void -
The
insertAdjacentHTML()
method of the Element interface parses the specified text as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.inherited -
insertAdjacentText(
String where, String data) → void -
The
insertAdjacentText()
method of the Element interface, given a relative position and a string, inserts a new text node at the given position relative to the element it is called from.inherited -
insertBefore(
Node node, Node? child) → Node -
The
insertBefore()
method of the Node interface inserts a node before a reference node as a child of a specified parent node.inherited -
instanceof(
JSFunction constructor) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is aninstanceof
constructor
. -
instanceOfString(
String constructorName) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is aninstanceof
the constructor that is defined byconstructorName
, which is looked up in the globalContext. -
isA<
T extends JSAny?> () → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is an instance of the JavaScript type that is declared byT
. -
isDefaultNamespace(
String? namespace) → bool -
The
isDefaultNamespace()
method of the Node interface accepts a namespace URI as an argument. It returns a boolean value that istrue
if the namespace is the default namespace on the given node andfalse
if not.inherited -
isEqualNode(
Node? otherNode) → bool -
The
isEqualNode()
method of the Node interface tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes.inherited -
isPointInFill(
[DOMPointInit point]) → bool -
The
SVGGeometryElement.isPointInFill()
method determines whether a given point is within the fill shape of an element. Normal hit testing rules apply; the value of the property on the element determines whether a point is considered to be within the fill. Thepoint
argument is interpreted as a point in the local coordinate system of the element.inherited -
isPointInStroke(
[DOMPointInit point]) → bool -
The
SVGGeometryElement.isPointInStroke()
method determines whether a given point is within the stroke shape of an element. Normal hit testing rules apply; the value of the property on the element determines whether a point is considered to be within the stroke. Thepoint
argument is interpreted as a point in the local coordinate system of the element.inherited -
isSameNode(
Node? otherNode) → bool -
The
isSameNode()
method of the Node interface is a legacy alias the for the===
strict equality operator. That is, it tests whether two nodes are the same (in other words, whether they reference the same object).inherited -
lessThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
<any
-
lessThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
<=any
-
lookupNamespaceURI(
String? prefix) → String? -
The
lookupNamespaceURI()
method of the Node interface takes a prefix as parameter and returns the namespace URI associated with it on the given node if found (andnull
if not).inherited -
lookupPrefix(
String? namespace) → String? -
The
lookupPrefix()
method of the Node interface returns a string containing the prefix for a given namespace URI, if present, andnull
if not. When multiple prefixes are possible, the first prefix is returned.inherited -
matches(
String selectors) → bool -
The
matches()
method of the Element interface tests whether the element would be selected by the specified CSS selector.inherited -
modulo(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
%any
-
multiply(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
*any
-
normalize(
) → void -
The
normalize()
method of the Node interface puts the specified node and all of its sub-tree into a normalized form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
!=any
-
or(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
||any
-
prepend(
JSAny nodes) → void -
The
Element.prepend()
method inserts a set of Node objects or string objects before the first child of the Element. String objects are inserted as equivalent Text nodes.inherited -
querySelector(
String selectors) → Element? -
The
querySelector()
method of the Element interface returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors.inherited -
querySelectorAll(
String selectors) → NodeList -
The Element method
querySelectorAll()
returns a static (not live) NodeList representing a list of elements matching the specified group of selectors which are descendants of the element on which the method was called.inherited -
releasePointerCapture(
int pointerId) → void -
The
releasePointerCapture()
method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.inherited -
remove(
) → void -
The
Element.remove()
method removes the element from the DOM.inherited -
removeAttribute(
String qualifiedName) → void -
The Element method
removeAttribute()
removes the attribute with the specified name from the element.inherited -
removeAttributeNode(
Attr attr) → Attr -
The
removeAttributeNode()
method of the Element interface removes the specified Attr node from the element.inherited -
removeAttributeNS(
String? namespace, String localName) → void -
The
removeAttributeNS()
method of the Element interface removes the specified attribute with the specified namespace from an element.inherited -
removeChild(
Node child) → Node -
The
removeChild()
method of the Node interface removes a child node from the DOM and returns the removed node.inherited -
removeEventListener(
String type, EventListener? callback, [JSAny options]) → void -
The
removeEventListener()
method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.inherited -
replaceChild(
Node node, Node child) → Node -
The
replaceChild()
method of the Node interface replaces a child node within the given (parent) node.inherited -
replaceChildren(
JSAny nodes) → void -
The
Element.replaceChildren()
method replaces the existing children of a Node with a specified new set of children. These can be string or Node objects.inherited -
replaceWith(
JSAny nodes) → void -
The
Element.replaceWith()
method replaces thisElement
in the children list of its parent with a set of Node or string objects. String objects are inserted as equivalent Text nodes.inherited -
scroll(
[JSAny optionsOrX, num y]) → void -
The
scroll()
method of the Element interface scrolls the element to a particular set of coordinates inside a given element.inherited -
scrollBy(
[JSAny optionsOrX, num y]) → void -
The
scrollBy()
method of the Element interface scrolls an element by the given amount.inherited -
scrollIntoView(
[JSAny arg]) → void -
The Element interface's
scrollIntoView()
method scrolls the element's ancestor containers such that the element on whichscrollIntoView()
is called is visible to the user.inherited -
scrollTo(
[JSAny optionsOrX, num y]) → void -
The
scrollTo()
method of the Element interface scrolls to a particular set of coordinates inside a given element.inherited -
setAttribute(
String qualifiedName, String value) → void -
Sets the value of an attribute on the specified element. If
the attribute already exists, the value is updated; otherwise a new
attribute is added
with the specified name and value.
inherited
-
setAttributeNode(
Attr attr) → Attr? -
The
setAttributeNode()
method of the Element interface adds a new Attr node to the specified element.inherited -
setAttributeNodeNS(
Attr attr) → Attr? -
The
setAttributeNodeNS()
method of the Element interface adds a new namespaced Attr node to an element.inherited -
setAttributeNS(
String? namespace, String qualifiedName, String value) → void -
setAttributeNS
adds a new attribute or changes the value of an attribute with the given namespace and name.inherited -
setHTMLUnsafe(
String html) → void -
inherited
-
setPointerCapture(
int pointerId) → void -
The
setPointerCapture()
method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture or theElement/pointerup_event
event is fired).inherited -
setProperty(
JSAny property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Write thevalue
of property keyproperty
of this JSObject. -
strictEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
===any
-
strictNotEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
!==any
-
subtract(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
-any
-
toggleAttribute(
String qualifiedName, [bool force]) → bool -
The
toggleAttribute()
method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
typeofEquals(
String typeString) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether the result oftypeof
on thisJSAny?
istypeString
. -
unsignedRightShift(
JSAny? any) → JSNumber -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>>>any
-
webkitMatchesSelector(
String selectors) → bool -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String property) → JSAny? -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for getProperty to get the value of the property keyproperty
of this JSObject, but takes and returns a Dart value. -
operator []=(
String property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for setProperty to write thevalue
of the property keyproperty
of this JSObject, but takes a Dart value.