Class type Chartjs.animation

method duration : int Js_of_ocaml.Js.prop

The number of milliseconds an animation takes.

method easing : Easing.t Js_of_ocaml.Js.prop

Easing function to use.

method onProgress : (animationItem Js_of_ocaml.Js.t -> unit) Js_of_ocaml.Js.callback Js_of_ocaml.Js.opt Js_of_ocaml.Js.prop

Callback called on each step of an animation.

method onComplete : (animationItem Js_of_ocaml.Js.t -> unit) Js_of_ocaml.Js.callback Js_of_ocaml.Js.opt Js_of_ocaml.Js.prop

Callback called at the end of an animation.