1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.
//! The `Animation` domain.
//!
//! Method names for the `Animation` domain, for use with
//! [`CdpClient::call`](crate::CdpClient::call).
//!
//! This domain is experimental and may change without notice.
/// Disables animation domain notifications.
pub const DISABLE: &str = "Animation.disable";
/// Enables animation domain notifications.
pub const ENABLE: &str = "Animation.enable";
/// Returns the current time of the an animation.
///
/// Parameters:
/// - `id`: string
///
/// Returns: `currentTime`
pub const GET_CURRENT_TIME: &str = "Animation.getCurrentTime";
/// Gets the playback rate of the document timeline.
///
/// Returns: `playbackRate`
pub const GET_PLAYBACK_RATE: &str = "Animation.getPlaybackRate";
/// Releases a set of animations to no longer be manipulated.
///
/// Parameters:
/// - `animations`: array
pub const RELEASE_ANIMATIONS: &str = "Animation.releaseAnimations";
/// Gets the remote object of the Animation.
///
/// Parameters:
/// - `animationId`: string
///
/// Returns: `remoteObject`
pub const RESOLVE_ANIMATION: &str = "Animation.resolveAnimation";
/// Seek a set of animations to a particular time within each animation.
///
/// Parameters:
/// - `animations`: array
/// - `currentTime`: number
pub const SEEK_ANIMATIONS: &str = "Animation.seekAnimations";
/// Sets the paused state of a set of animations.
///
/// Parameters:
/// - `animations`: array
/// - `paused`: boolean
pub const SET_PAUSED: &str = "Animation.setPaused";
/// Sets the playback rate of the document timeline.
///
/// Parameters:
/// - `playbackRate`: number
pub const SET_PLAYBACK_RATE: &str = "Animation.setPlaybackRate";
/// Sets the timing of an animation node.
///
/// Parameters:
/// - `animationId`: string
/// - `duration`: number
/// - `delay`: number
pub const SET_TIMING: &str = "Animation.setTiming";