Chrome Remote Interface v0.0.1 ChromeRemoteInterface.RPC.Animation View Source

Link to this section Summary

Functions

Disables animation domain notifications

Enables animation domain notifications

Returns the current time of the an animation

Gets the playback rate of the document timeline

Releases a set of animations to no longer be manipulated

Gets the remote object of the Animation

Seek a set of animations to a particular time within each animation

Sets the paused state of a set of animations

Sets the playback rate of the document timeline

Sets the timing of an animation node

Link to this section Functions

Link to this function disable(page_pid, parameters \\ %{}) View Source

Disables animation domain notifications.

Parameters:

Link to this function enable(page_pid, parameters \\ %{}) View Source

Enables animation domain notifications.

Parameters:

Link to this function getCurrentTime(page_pid, parameters \\ %{}) View Source

Returns the current time of the an animation.

Parameters: id - - Id of animation.

Link to this function getPlaybackRate(page_pid, parameters \\ %{}) View Source

Gets the playback rate of the document timeline.

Parameters:

Link to this function releaseAnimations(page_pid, parameters \\ %{}) View Source

Releases a set of animations to no longer be manipulated.

Parameters: animations - - List of animation ids to seek.

Link to this function resolveAnimation(page_pid, parameters \\ %{}) View Source

Gets the remote object of the Animation.

Parameters: animationId - - Animation id.

Link to this function seekAnimations(page_pid, parameters \\ %{}) View Source

Seek a set of animations to a particular time within each animation.

Parameters: animations - - List of animation ids to seek.currentTime - - Set the current time of each animation.

Link to this function setPaused(page_pid, parameters \\ %{}) View Source

Sets the paused state of a set of animations.

Parameters: animations - - Animations to set the pause state of.paused - - Paused state to set to.

Link to this function setPlaybackRate(page_pid, parameters \\ %{}) View Source

Sets the playback rate of the document timeline.

Parameters: playbackRate - - Playback rate for animations on page

Link to this function setTiming(page_pid, parameters \\ %{}) View Source

Sets the timing of an animation node.

Parameters: animationId - - Animation id.duration - - Duration of the animation.delay - - Delay of the animation.