svg-animations.idl (1512B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: SVG Animations (https://svgwg.org/specs/animations/) 5 6 [Exposed=Window] 7 interface TimeEvent : Event { 8 9 readonly attribute WindowProxy? view; 10 readonly attribute long detail; 11 12 undefined initTimeEvent(DOMString typeArg, optional Window? viewArg = null, optional long detailArg = 0); 13 }; 14 15 [Exposed=Window] 16 interface SVGAnimationElement : SVGElement { 17 18 readonly attribute SVGElement? targetElement; 19 20 attribute EventHandler onbegin; 21 attribute EventHandler onend; 22 attribute EventHandler onrepeat; 23 24 float getStartTime(); 25 float getCurrentTime(); 26 float getSimpleDuration(); 27 28 undefined beginElement(); 29 undefined beginElementAt(float offset); 30 undefined endElement(); 31 undefined endElementAt(float offset); 32 }; 33 34 SVGAnimationElement includes SVGTests; 35 36 [Exposed=Window] 37 interface SVGAnimateElement : SVGAnimationElement { 38 }; 39 40 [Exposed=Window] 41 interface SVGSetElement : SVGAnimationElement { 42 }; 43 44 [Exposed=Window] 45 interface SVGAnimateMotionElement : SVGAnimationElement { 46 }; 47 48 [Exposed=Window] 49 interface SVGMPathElement : SVGElement { 50 }; 51 52 SVGMPathElement includes SVGURIReference; 53 54 [Exposed=Window] 55 interface SVGAnimateTransformElement : SVGAnimationElement { 56 }; 57 58 partial interface SVGSVGElement { 59 undefined pauseAnimations(); 60 undefined unpauseAnimations(); 61 boolean animationsPaused(); 62 float getCurrentTime(); 63 undefined setCurrentTime(float seconds); 64 };