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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
#![allow(unused_imports)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
# [wasm_bindgen (extends = AnimationEffect , extends = :: js_sys :: Object , js_name = KeyframeEffect , typescript_type = "KeyframeEffect")]
#[derive(Debug, Clone, PartialEq, Eq)]
#[doc = "The `KeyframeEffect` class."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
pub type KeyframeEffect;
# [wasm_bindgen (structural , method , getter , js_class = "KeyframeEffect" , js_name = target)]
#[doc = "Getter for the `target` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/target)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
pub fn target(this: &KeyframeEffect) -> Option<::js_sys::Object>;
# [wasm_bindgen (structural , method , setter , js_class = "KeyframeEffect" , js_name = target)]
#[doc = "Setter for the `target` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/target)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
pub fn set_target(this: &KeyframeEffect, value: Option<&::js_sys::Object>);
#[cfg(feature = "IterationCompositeOperation")]
# [wasm_bindgen (structural , method , getter , js_class = "KeyframeEffect" , js_name = iterationComposite)]
#[doc = "Getter for the `iterationComposite` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/iterationComposite)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffect`*"]
pub fn iteration_composite(this: &KeyframeEffect) -> IterationCompositeOperation;
#[cfg(feature = "IterationCompositeOperation")]
# [wasm_bindgen (structural , method , setter , js_class = "KeyframeEffect" , js_name = iterationComposite)]
#[doc = "Setter for the `iterationComposite` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/iterationComposite)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffect`*"]
pub fn set_iteration_composite(this: &KeyframeEffect, value: IterationCompositeOperation);
#[cfg(feature = "CompositeOperation")]
# [wasm_bindgen (structural , method , getter , js_class = "KeyframeEffect" , js_name = composite)]
#[doc = "Getter for the `composite` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/composite)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffect`*"]
pub fn composite(this: &KeyframeEffect) -> CompositeOperation;
#[cfg(feature = "CompositeOperation")]
# [wasm_bindgen (structural , method , setter , js_class = "KeyframeEffect" , js_name = composite)]
#[doc = "Setter for the `composite` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/composite)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffect`*"]
pub fn set_composite(this: &KeyframeEffect, value: CompositeOperation);
#[cfg(feature = "Element")]
#[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
#[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`*"]
pub fn new_with_opt_element_and_keyframes(
target: Option<&Element>,
keyframes: Option<&::js_sys::Object>,
) -> Result<KeyframeEffect, JsValue>;
#[cfg(feature = "CssPseudoElement")]
#[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
#[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`*"]
pub fn new_with_opt_css_pseudo_element_and_keyframes(
target: Option<&CssPseudoElement>,
keyframes: Option<&::js_sys::Object>,
) -> Result<KeyframeEffect, JsValue>;
#[cfg(feature = "Element")]
#[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
#[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`*"]
pub fn new_with_opt_element_and_keyframes_and_f64(
target: Option<&Element>,
keyframes: Option<&::js_sys::Object>,
options: f64,
) -> Result<KeyframeEffect, JsValue>;
#[cfg(feature = "CssPseudoElement")]
#[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
#[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`*"]
pub fn new_with_opt_css_pseudo_element_and_keyframes_and_f64(
target: Option<&CssPseudoElement>,
keyframes: Option<&::js_sys::Object>,
options: f64,
) -> Result<KeyframeEffect, JsValue>;
#[cfg(all(feature = "Element", feature = "KeyframeEffectOptions",))]
#[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
#[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`, `KeyframeEffectOptions`*"]
pub fn new_with_opt_element_and_keyframes_and_keyframe_effect_options(
target: Option<&Element>,
keyframes: Option<&::js_sys::Object>,
options: &KeyframeEffectOptions,
) -> Result<KeyframeEffect, JsValue>;
#[cfg(all(feature = "CssPseudoElement", feature = "KeyframeEffectOptions",))]
#[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
#[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`, `KeyframeEffectOptions`*"]
pub fn new_with_opt_css_pseudo_element_and_keyframes_and_keyframe_effect_options(
target: Option<&CssPseudoElement>,
keyframes: Option<&::js_sys::Object>,
options: &KeyframeEffectOptions,
) -> Result<KeyframeEffect, JsValue>;
#[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
#[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
pub fn new_with_source(source: &KeyframeEffect) -> Result<KeyframeEffect, JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "KeyframeEffect" , js_name = getKeyframes)]
#[doc = "The `getKeyframes()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/getKeyframes)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
pub fn get_keyframes(this: &KeyframeEffect) -> Result<::js_sys::Array, JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "KeyframeEffect" , js_name = setKeyframes)]
#[doc = "The `setKeyframes()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/setKeyframes)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
pub fn set_keyframes(
this: &KeyframeEffect,
keyframes: Option<&::js_sys::Object>,
) -> Result<(), JsValue>;
}
|