-
animationsPaused()
→ bool
-
-
checkEnclosure(SvgElement element, Rect rect)
→ bool
-
-
checkIntersection(SvgElement element, Rect rect)
→ bool
-
-
createSvgAngle()
→ Angle
-
@JSName('createSVGAngle')
-
createSvgLength()
→ Length
-
@JSName('createSVGLength')
-
createSvgMatrix()
→ Matrix
-
@JSName('createSVGMatrix')
-
createSvgNumber()
→ Number
-
@JSName('createSVGNumber')
-
createSvgPoint()
→ Point
-
@JSName('createSVGPoint')
-
createSvgRect()
→ Rect
-
@JSName('createSVGRect')
-
createSvgTransform()
→ Transform
-
@JSName('createSVGTransform')
-
createSvgTransformFromMatrix(Matrix matrix)
→ Transform
-
@JSName('createSVGTransformFromMatrix')
-
deselectAll()
→ void
-
-
forceRedraw()
→ void
-
-
getCurrentTime()
→ double
-
-
getElementById(String elementId)
→ Element
-
-
getEnclosureList(Rect rect, SvgElement referenceElement)
→ List<Node>
-
@Creates('NodeList'), @Returns('NodeList|Null')
-
getIntersectionList(Rect rect, SvgElement referenceElement)
→ List<Node>
-
@Creates('NodeList'), @Returns('NodeList|Null')
-
pauseAnimations()
→ void
-
-
setCurrentTime(num seconds)
→ void
-
-
suspendRedraw(int maxWaitMilliseconds)
→ int
-
-
unpauseAnimations()
→ void
-
-
unsuspendRedraw(int suspendHandleId)
→ void
-
-
unsuspendRedrawAll()
→ void
-
-
addEventListener(String type, EventListener listener, [ bool useCapture ])
→ void
-
inherited
-
after(Object nodes)
→ void
-
inherited
-
animate(Iterable<Map<String, dynamic>> frames, [ dynamic timing ])
→ Animation
-
- 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.
- Examples
-
var animation = elem.animate([{"opacity": 75}, {"opacity": 0}], 200);
-
var animation = elem.animate([
-
{"transform": "translate(100px, -100%)"},
-
{"transform" : "translate(400px, 500px)"}
-
], 1500);
- The
frames
parameter is an Iterable - map entries specify CSS animation effects. The
timing
paramter can be a double, representing the number of milliseconds- for the transition, or a Map with fields corresponding to those
- of the
Timing
object.
@SupportedBrowser(SupportedBrowser.CHROME, '36'), inherited
-
append(Node node)
→ Node
-
Adds a node to the end of the child nodes list of this node. [...]
@JSName('appendChild'), inherited
-
appendHtml(String text, { NodeValidator validator, NodeTreeSanitizer treeSanitizer })
→ void
-
Parses the specified text as HTML and adds the resulting node after the
last child of this element.
inherited
-
appendText(String text)
→ void
-
Adds the specified text after the last child of this element.
inherited
-
attached()
→ void
-
Called by the DOM when this element has been inserted into the live
document. [...]
inherited
-
attachShadow(Map shadowRootInitDict)
→ ShadowRoot
-
inherited
-
attributeChanged(String name, String oldValue, String newValue)
→ void
-
Called by the DOM whenever an attribute on this has been changed.
inherited
-
before(Object nodes)
→ void
-
inherited
-
blur()
→ void
-
inherited
-
click()
→ void
-
inherited
-
clone(bool deep)
→ Node
-
Returns a copy of this node. [...]
@JSName('cloneNode'), inherited
-
closest(String selectors)
→ Element
-
inherited
-
contains(Node other)
→ bool
-
Returns true if this node contains the specified node. [...]
inherited
-
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. [...]
inherited
-
createShadowRoot()
→ ShadowRoot
-
Creates a new shadow root for this shadow host. [...]
@SupportedBrowser(SupportedBrowser.CHROME, '25'), inherited
-
detached()
→ void
-
Called by the DOM when this element has been removed from the live
document. [...]
inherited
-
dispatchEvent(Event event)
→ bool
-
inherited
-
enteredView()
→ void
-
Deprecated*: override attached instead.
inherited
-
focus()
→ void
-
inherited
-
getAnimations()
→ List<Animation>
-
inherited
-
getAttribute(String name)
→ String
-
inherited
-
getAttributeNames()
→ List<String>
-
inherited
-
getAttributeNS(String namespaceURI, String name)
→ String
-
inherited
-
getBBox()
→ Rect
-
inherited
-
getBoundingClientRect()
→ Rectangle<num>
-
Returns the smallest bounding rectangle that encompasses this element's
padding, scrollbar, and border. [...]
@Creates('_DomRect'), @Returns('_DomRect|Null'), inherited
-
getClientRects()
→ List<Rectangle<num>>
-
inherited
-
getComputedStyle([String pseudoElement ])
→ CssStyleDeclaration
-
The set of all CSS values applied to this element, including inherited
and default values. [...]
inherited
-
getCtm()
→ Matrix
-
@JSName('getCTM'), inherited
-
getDestinationInsertionPoints()
→ List<Node>
-
Returns a list of shadow DOM insertion points to which this element is
distributed. [...]
@Creates('NodeList'), @Returns('NodeList|Null'), inherited
-
getElementsByClassName(String classNames)
→ List<Node>
-
Returns a list of nodes with the given class name inside this element. [...]
@Creates('NodeList|HtmlCollection'), @Returns('NodeList|HtmlCollection'), inherited
-
getNamespacedAttributes(String namespace)
→ Map<String, String>
-
Gets a map for manipulating the attributes of a particular namespace. [...]
inherited
-
getRootNode([Map options ])
→ Node
-
inherited
-
getScreenCtm()
→ Matrix
-
@JSName('getScreenCTM'), inherited
-
hasAttribute(String name)
→ bool
-
inherited
-
hasAttributeNS(String namespaceURI, String name)
→ bool
-
inherited
-
hasChildNodes()
→ bool
-
Returns true if this node has any children. [...]
inherited
-
hasPointerCapture(int pointerId)
→ bool
-
inherited
-
insertAdjacentElement(String where, Element element)
→ Element
-
Inserts
element
into the DOM at the specified location. [...]
inherited
-
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. [...]
inherited
-
insertAdjacentText(String where, String text)
→ void
-
Inserts text into the DOM at the specified location. [...]
inherited
-
insertAllBefore(Iterable<Node> newNodes, Node refChild)
→ Node
-
Inserts all of the nodes into this node directly before refChild. [...]
inherited
-
insertBefore(Node node, Node child)
→ Node
-
Inserts all of the nodes into this node directly before refChild. [...]
inherited
-
leftView()
→ void
-
Deprecated*: override detached instead.
inherited
-
matches(String selectors)
→ bool
-
Checks if this element matches the CSS selectors.
inherited
-
matchesWithAncestors(String selectors)
→ bool
-
Checks if this element or any of its parents match the CSS selectors.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
offsetTo(Element parent)
→ Point<num>
-
Provides the offset of this element's borderEdge relative to the
specified
parent
. [...]
inherited
-
querySelector(String selectors)
→ Element
-
Finds the first descendant element of this element that matches the
specified group of selectors. [...]
inherited
-
querySelectorAll<T extends Element>(String selectors)
→ ElementList<T>
-
Finds all descendent elements of this element that match the specified
group of selectors. [...]
inherited
-
releasePointerCapture(int pointerId)
→ void
-
inherited
-
remove()
→ void
-
Removes this node from the DOM.
inherited
-
removeAttribute(String name)
→ void
-
inherited
-
removeAttributeNS(String namespaceURI, String name)
→ void
-
inherited
-
removeEventListener(String type, EventListener listener, [ bool useCapture ])
→ void
-
inherited
-
replaceWith(Node otherNode)
→ Node
-
Replaces this node with another node.
inherited
-
requestFullscreen()
→ void
-
Displays this element fullscreen. [...]
@JSName('webkitRequestFullscreen'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), inherited
-
requestPointerLock()
→ void
-
inherited
-
scroll([dynamic options_OR_x, num y ])
→ void
-
inherited
-
scrollBy([dynamic options_OR_x, num y ])
→ void
-
inherited
-
scrollIntoView([ScrollAlignment alignment ])
→ void
-
Scrolls this element into view. [...]
inherited
-
scrollTo([dynamic options_OR_x, num y ])
→ void
-
inherited
-
setApplyScroll(String nativeScrollBehavior)
→ Future<ScrollState>
-
inherited
-
setAttribute(String name, String value)
→ void
-
inherited
-
setAttributeNS(String namespaceURI, String name, String value)
→ void
-
inherited
-
setDistributeScroll(String nativeScrollBehavior)
→ Future<ScrollState>
-
inherited
-
setInnerHtml(String html, { NodeValidator validator, NodeTreeSanitizer treeSanitizer })
→ void
-
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. [...]
inherited
-
setPointerCapture(int pointerId)
→ void
-
inherited
-
toString()
→ String
-
The string representation of this element. [...]
inherited