@@ -28,44 +28,6 @@ extern "C" {
28
28
#[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
29
29
pub fn clipboard_data ( this : & ClipboardEvent ) -> Option < DataTransfer > ;
30
30
#[ cfg( web_sys_unstable_apis) ]
31
- #[ cfg( feature = "DataTransfer" ) ]
32
- # [ wasm_bindgen ( structural , method , getter , js_class = "ClipboardEvent" , js_name = clipboardData ) ]
33
- #[ doc = "Getter for the `clipboardData` field of this object." ]
34
- #[ doc = "" ]
35
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/clipboardData)" ]
36
- #[ doc = "" ]
37
- #[ doc = "*This API requires the following crate features to be activated: `ClipboardEvent`, `DataTransfer`*" ]
38
- #[ doc = "" ]
39
- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
40
- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
41
- pub fn clipboard_data ( this : & ClipboardEvent ) -> Option < DataTransfer > ;
42
- #[ cfg( web_sys_unstable_apis) ]
43
- #[ wasm_bindgen( catch, constructor, js_class = "ClipboardEvent" ) ]
44
- #[ doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`." ]
45
- #[ doc = "" ]
46
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)" ]
47
- #[ doc = "" ]
48
- #[ doc = "*This API requires the following crate features to be activated: `ClipboardEvent`*" ]
49
- #[ doc = "" ]
50
- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
51
- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
52
- pub fn new ( type_ : & str ) -> Result < ClipboardEvent , JsValue > ;
53
- #[ cfg( web_sys_unstable_apis) ]
54
- #[ cfg( feature = "ClipboardEventInit" ) ]
55
- #[ wasm_bindgen( catch, constructor, js_class = "ClipboardEvent" ) ]
56
- #[ doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`." ]
57
- #[ doc = "" ]
58
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)" ]
59
- #[ doc = "" ]
60
- #[ doc = "*This API requires the following crate features to be activated: `ClipboardEvent`, `ClipboardEventInit`*" ]
61
- #[ doc = "" ]
62
- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
63
- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
64
- pub fn new_with_event_init_dict (
65
- type_ : & str ,
66
- event_init_dict : & ClipboardEventInit ,
67
- ) -> Result < ClipboardEvent , JsValue > ;
68
- #[ cfg( web_sys_unstable_apis) ]
69
31
#[ wasm_bindgen( catch, constructor, js_class = "ClipboardEvent" ) ]
70
32
#[ doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`." ]
71
33
#[ doc = "" ]
0 commit comments