Package-level declarations

Types

Link copied to clipboard
interface AnimationPlaybackControls : JsAny

The animation playback controls. Allows to control the Motion animation run and access its properties.

Link copied to clipboard
class IntCallback : JsAny
Link copied to clipboard
class StringCallback : JsAny

Functions

Link copied to clipboard
external fun animate(obj: JsAny, keyframes: JsAny): AnimationPlaybackControls
external fun animate(selector: String, keyframes: JsAny): AnimationPlaybackControls
external fun animate(element: HTMLElement, keyframes: JsAny): AnimationPlaybackControls
external fun animate(obj: JsAny, keyframes: JsAny, options: JsAny): AnimationPlaybackControls
external fun animate(from: Int, to: Int, options: JsAny): AnimationPlaybackControls
external fun animate(selector: String, keyframes: JsAny, options: JsAny): AnimationPlaybackControls
external fun animate(from: String, to: String, options: JsAny): AnimationPlaybackControls
external fun animate(element: HTMLElement, keyframes: JsAny, options: JsAny): AnimationPlaybackControls
Link copied to clipboard
external fun animateMini(selector: String, keyframes: JsAny): AnimationPlaybackControls
external fun animateMini(element: HTMLElement, keyframes: JsAny): AnimationPlaybackControls
external fun animateMini(selector: String, keyframes: JsAny, options: JsAny): AnimationPlaybackControls
external fun animateMini(element: HTMLElement, keyframes: JsAny, options: JsAny): AnimationPlaybackControls
Link copied to clipboard
external fun scroll(animation: AnimationPlaybackControls)
external fun scroll(callback: (JsNumber) -> Unit): () -> Unit
external fun scroll(callback: (JsNumber, JsAny) -> Unit): () -> Unit