SVGAnimateElement extension type
The SVGAnimateElement
interface corresponds to the element.
- on
- Implemented types
- Available extensions
Constructors
- SVGAnimateElement()
- Creates an SVGAnimateElement using the tag 'animate'.
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 ↔ 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
- 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
- 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
- onbeforeinput ↔ EventHandler?
-
getter/setter pairinherited
- onbeforematch ↔ EventHandler?
-
getter/setter pairinherited
- onbeforetoggle ↔ EventHandler?
-
getter/setter pairinherited
- onbegin ↔ EventHandler?
-
getter/setter pairinherited
- onblur ↔ EventHandler?
-
getter/setter pairinherited
- oncancel ↔ EventHandler?
-
getter/setter pairinherited
- oncanplay ↔ EventHandler?
-
getter/setter pairinherited
- oncanplaythrough ↔ EventHandler?
-
getter/setter pairinherited
- onchange ↔ EventHandler?
-
getter/setter pairinherited
- onclick ↔ EventHandler?
-
getter/setter pairinherited
- onclose ↔ EventHandler?
-
getter/setter pairinherited
- oncontextlost ↔ EventHandler?
-
getter/setter pairinherited
-
getter/setter pairinherited
- oncontextrestored ↔ EventHandler?
-
getter/setter pairinherited
- oncopy ↔ EventHandler?
-
getter/setter pairinherited
- oncuechange ↔ EventHandler?
-
getter/setter pairinherited
- oncut ↔ EventHandler?
-
getter/setter pairinherited
- ondblclick ↔ EventHandler?
-
getter/setter pairinherited
- ondrag ↔ EventHandler?
-
getter/setter pairinherited
- ondragend ↔ EventHandler?
-
getter/setter pairinherited
- ondragenter ↔ EventHandler?
-
getter/setter pairinherited
- ondragleave ↔ EventHandler?
-
getter/setter pairinherited
- ondragover ↔ EventHandler?
-
getter/setter pairinherited
- ondragstart ↔ EventHandler?
-
getter/setter pairinherited
- ondrop ↔ EventHandler?
-
getter/setter pairinherited
- ondurationchange ↔ EventHandler?
-
getter/setter pairinherited
- onemptied ↔ EventHandler?
-
getter/setter pairinherited
- onend ↔ EventHandler?
-
getter/setter pairinherited
- onended ↔ EventHandler?
-
getter/setter pairinherited
- onerror ↔ OnErrorEventHandler?
-
getter/setter pairinherited
- onfocus ↔ EventHandler?
-
getter/setter pairinherited
- onformdata ↔ EventHandler?
-
getter/setter pairinherited
- ongotpointercapture ↔ EventHandler?
-
getter/setter pairinherited
- oninput ↔ EventHandler?
-
getter/setter pairinherited
- oninvalid ↔ EventHandler?
-
getter/setter pairinherited
- onkeydown ↔ EventHandler?
-
getter/setter pairinherited
- onkeypress ↔ EventHandler?
-
getter/setter pairinherited
- onkeyup ↔ EventHandler?
-
getter/setter pairinherited
- onload ↔ EventHandler?
-
getter/setter pairinherited
- onloadeddata ↔ EventHandler?
-
getter/setter pairinherited
- onloadedmetadata ↔ EventHandler?
-
getter/setter pairinherited
- onloadstart ↔ EventHandler?
-
getter/setter pairinherited
- onlostpointercapture ↔ EventHandler?
-
getter/setter pairinherited
- onmousedown ↔ EventHandler?
-
getter/setter pairinherited
- onmouseenter ↔ EventHandler?
-
getter/setter pairinherited
- onmouseleave ↔ EventHandler?
-
getter/setter pairinherited
- onmousemove ↔ EventHandler?
-
getter/setter pairinherited
- onmouseout ↔ EventHandler?
-
getter/setter pairinherited
- onmouseover ↔ EventHandler?
-
getter/setter pairinherited
- onmouseup ↔ EventHandler?
-
getter/setter pairinherited
- onpaste ↔ EventHandler?
-
getter/setter pairinherited
- onpause ↔ EventHandler?
-
getter/setter pairinherited
- onplay ↔ EventHandler?
-
getter/setter pairinherited
- onplaying ↔ EventHandler?
-
getter/setter pairinherited
- 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
- onrepeat ↔ EventHandler?
-
getter/setter pairinherited
- onreset ↔ EventHandler?
-
getter/setter pairinherited
- onresize ↔ EventHandler?
-
getter/setter pairinherited
- onscroll ↔ EventHandler?
-
getter/setter pairinherited
- onscrollend ↔ EventHandler?
-
getter/setter pairinherited
- onsecuritypolicyviolation ↔ EventHandler?
-
getter/setter pairinherited
- onseeked ↔ EventHandler?
-
getter/setter pairinherited
- onseeking ↔ EventHandler?
-
getter/setter pairinherited
- onselect ↔ EventHandler?
-
getter/setter pairinherited
- onselectionchange ↔ EventHandler?
-
getter/setter pairinherited
- onselectstart ↔ EventHandler?
-
getter/setter pairinherited
- onslotchange ↔ EventHandler?
-
getter/setter pairinherited
- onstalled ↔ EventHandler?
-
getter/setter pairinherited
- onsubmit ↔ EventHandler?
-
getter/setter pairinherited
- onsuspend ↔ EventHandler?
-
getter/setter pairinherited
- ontimeupdate ↔ EventHandler?
-
getter/setter pairinherited
- ontoggle ↔ EventHandler?
-
getter/setter pairinherited
- ontouchcancel ↔ EventHandler?
-
getter/setter pairinherited
- ontouchend ↔ EventHandler?
-
getter/setter pairinherited
- ontouchmove ↔ EventHandler?
-
getter/setter pairinherited
- ontouchstart ↔ EventHandler?
-
getter/setter pairinherited
- ontransitioncancel ↔ EventHandler?
-
getter/setter pairinherited
- ontransitionend ↔ EventHandler?
-
getter/setter pairinherited
- ontransitionrun ↔ EventHandler?
-
getter/setter pairinherited
- ontransitionstart ↔ EventHandler?
-
getter/setter pairinherited
- onvolumechange ↔ EventHandler?
-
getter/setter pairinherited
- onwaiting ↔ EventHandler?
-
getter/setter pairinherited
- 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
- outerHTML ↔ String
-
getter/setter pairinherited
- ownerDocument → Document?
-
no setterinherited
- ownerSVGElement → SVGSVGElement?
-
no setterinherited
- parentElement → Element?
-
no setterinherited
- parentNode → Node?
-
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
- targetElement → SVGElement?
-
no setterinherited
- textContent ↔ String?
-
getter/setter pairinherited
- viewportElement → SVGElement?
-
no setterinherited
Methods
-
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 -
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 -
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 -
beginElement(
) → void -
inherited
-
beginElementAt(
num offset) → void -
inherited
-
blur(
) → void -
inherited
-
checkVisibility(
[CheckVisibilityOptions options]) → bool -
The
checkVisibility()
method of the Element interface checks whether the element is visible.inherited -
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
-
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 -
endElement(
) → void -
inherited
-
endElementAt(
num offset) → void -
inherited
-
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 -
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 -
getCurrentTime(
) → num -
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 -
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 -
getSimpleDuration(
) → num -
inherited
-
getStartTime(
) → num -
inherited
-
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 -
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 -
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 -
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 -
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 -
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
-
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 -
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
-
webkitMatchesSelector(
String selectors) → bool -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited