Class type Dom_html.animation

method id : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method effect_ : animationEffect Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.prop
method timeline : animationTimeline Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.prop
method playState : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop
method replaceState : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop
method playbackRate : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method currentTime : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.prop
method startTime : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.prop
method pending : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop
method play : unit Js_of_ocaml__.Js.meth
method pause : unit Js_of_ocaml__.Js.meth
method finish : unit Js_of_ocaml__.Js.meth
method cancel : unit Js_of_ocaml__.Js.meth
method reverse : unit Js_of_ocaml__.Js.meth
method persist : unit Js_of_ocaml__.Js.meth
method commitStyles : unit Js_of_ocaml__.Js.meth
method updatePlaybackRate : Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method finished : animation Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.readonly_prop

Resolves when the animation reaches its end, or rejects when it is cancelled.

method ready : animation Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.readonly_prop

Resolves when the animation is ready to play (i.e. the user agent has finished any pending changes to its state).

method oncancel : (animation Js_of_ocaml__.Js.t, animationPlaybackEvent Js_of_ocaml__.Js.t) event_listener Js_of_ocaml__.Js.writeonly_prop
method onfinish : (animation Js_of_ocaml__.Js.t, animationPlaybackEvent Js_of_ocaml__.Js.t) event_listener Js_of_ocaml__.Js.writeonly_prop
method onremove : (animation Js_of_ocaml__.Js.t, event Js_of_ocaml__.Js.t) event_listener Js_of_ocaml__.Js.writeonly_prop