(disable)(disable {:as params :keys []})(disable connection {:as params :keys []})Disables animation domain notifications.
Disables animation domain notifications.
(enable)(enable {:as params :keys []})(enable connection {:as params :keys []})Enables animation domain notifications.
Enables animation domain notifications.
(get-current-time)(get-current-time {:as params :keys [id]})(get-current-time connection {:as params :keys [id]})Returns the current time of the an animation.
Parameters map keys:
| Key | Description |
|---|---|
| :id | Id of animation. |
Return map keys:
| Key | Description |
|---|---|
| :current-time | Current time of the page. |
Returns the current time of the an animation. Parameters map keys: Key | Description ----|------------ :id | Id of animation. Return map keys: Key | Description --------------|------------ :current-time | Current time of the page.
(get-playback-rate)(get-playback-rate {:as params :keys []})(get-playback-rate connection {:as params :keys []})Gets the playback rate of the document timeline.
Return map keys:
| Key | Description |
|---|---|
| :playback-rate | Playback rate for animations on page. |
Gets the playback rate of the document timeline. Return map keys: Key | Description ---------------|------------ :playback-rate | Playback rate for animations on page.
(release-animations)(release-animations {:as params :keys [animations]})(release-animations connection {:as params :keys [animations]})Releases a set of animations to no longer be manipulated.
Parameters map keys:
| Key | Description |
|---|---|
| :animations | List of animation ids to seek. |
Releases a set of animations to no longer be manipulated. Parameters map keys: Key | Description ------------|------------ :animations | List of animation ids to seek.
(resolve-animation)(resolve-animation {:as params :keys [animation-id]})(resolve-animation connection {:as params :keys [animation-id]})Gets the remote object of the Animation.
Parameters map keys:
| Key | Description |
|---|---|
| :animation-id | Animation id. |
Return map keys:
| Key | Description |
|---|---|
| :remote-object | Corresponding remote object. |
Gets the remote object of the Animation. Parameters map keys: Key | Description --------------|------------ :animation-id | Animation id. Return map keys: Key | Description ---------------|------------ :remote-object | Corresponding remote object.
(seek-animations)(seek-animations {:as params :keys [animations current-time]})(seek-animations connection {:as params :keys [animations current-time]})Seek a set of animations to a particular time within each animation.
Parameters map keys:
| Key | Description |
|---|---|
| :animations | List of animation ids to seek. |
| :current-time | Set the current time of each animation. |
Seek a set of animations to a particular time within each animation. Parameters map keys: Key | Description --------------|------------ :animations | List of animation ids to seek. :current-time | Set the current time of each animation.
(set-paused)(set-paused {:as params :keys [animations paused]})(set-paused connection {:as params :keys [animations paused]})Sets the paused state of a set of animations.
Parameters map keys:
| Key | Description |
|---|---|
| :animations | Animations to set the pause state of. |
| :paused | Paused state to set to. |
Sets the paused state of a set of animations. Parameters map keys: Key | Description ------------|------------ :animations | Animations to set the pause state of. :paused | Paused state to set to.
(set-playback-rate)(set-playback-rate {:as params :keys [playback-rate]})(set-playback-rate connection {:as params :keys [playback-rate]})Sets the playback rate of the document timeline.
Parameters map keys:
| Key | Description |
|---|---|
| :playback-rate | Playback rate for animations on page |
Sets the playback rate of the document timeline. Parameters map keys: Key | Description ---------------|------------ :playback-rate | Playback rate for animations on page
(set-timing)(set-timing {:as params :keys [animation-id duration delay]})(set-timing connection {:as params :keys [animation-id duration delay]})Sets the timing of an animation node.
Parameters map keys:
| Key | Description |
|---|---|
| :animation-id | Animation id. |
| :duration | Duration of the animation. |
| :delay | Delay of the animation. |
Sets the timing of an animation node. Parameters map keys: Key | Description --------------|------------ :animation-id | Animation id. :duration | Duration of the animation. :delay | Delay of the animation.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |