Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.animation


disableclj

(disable)
(disable {:as params :keys []})
(disable connection {:as params :keys []})

Disables animation domain notifications.

Disables animation domain notifications.
sourceraw docstring

enableclj

(enable)
(enable {:as params :keys []})
(enable connection {:as params :keys []})

Enables animation domain notifications.

Enables animation domain notifications.
sourceraw docstring

get-current-timeclj

(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:

KeyDescription
:idId of animation.

Return map keys:

KeyDescription
:current-timeCurrent 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.
sourceraw docstring

get-playback-rateclj

(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:

KeyDescription
:playback-ratePlayback 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.
sourceraw docstring

release-animationsclj

(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:

KeyDescription
:animationsList 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.
sourceraw docstring

resolve-animationclj

(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:

KeyDescription
:animation-idAnimation id.

Return map keys:

KeyDescription
:remote-objectCorresponding 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.
sourceraw docstring

seek-animationsclj

(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:

KeyDescription
:animationsList of animation ids to seek.
:current-timeSet 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.
sourceraw docstring

set-pausedclj

(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:

KeyDescription
:animationsAnimations to set the pause state of.
:pausedPaused 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.
sourceraw docstring

set-playback-rateclj

(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:

KeyDescription
:playback-ratePlayback 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
sourceraw docstring

set-timingclj

(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:

KeyDescription
:animation-idAnimation id.
:durationDuration of the animation.
:delayDelay 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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close