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
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserverEntry , typescript_type = "IntersectionObserverEntry")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `IntersectionObserverEntry` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntry`*"]
    pub type IntersectionObserverEntry;
    # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = time)]
    #[doc = "Getter for the `time` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/time)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntry`*"]
    pub fn time(this: &IntersectionObserverEntry) -> f64;
    #[cfg(feature = "DomRectReadOnly")]
    # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = rootBounds)]
    #[doc = "Getter for the `rootBounds` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/rootBounds)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*"]
    pub fn root_bounds(this: &IntersectionObserverEntry) -> Option<DomRectReadOnly>;
    #[cfg(feature = "DomRectReadOnly")]
    # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = boundingClientRect)]
    #[doc = "Getter for the `boundingClientRect` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/boundingClientRect)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*"]
    pub fn bounding_client_rect(this: &IntersectionObserverEntry) -> DomRectReadOnly;
    #[cfg(feature = "DomRectReadOnly")]
    # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = intersectionRect)]
    #[doc = "Getter for the `intersectionRect` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/intersectionRect)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*"]
    pub fn intersection_rect(this: &IntersectionObserverEntry) -> DomRectReadOnly;
    # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = isIntersecting)]
    #[doc = "Getter for the `isIntersecting` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/isIntersecting)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntry`*"]
    pub fn is_intersecting(this: &IntersectionObserverEntry) -> bool;
    # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = intersectionRatio)]
    #[doc = "Getter for the `intersectionRatio` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/intersectionRatio)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntry`*"]
    pub fn intersection_ratio(this: &IntersectionObserverEntry) -> f64;
    #[cfg(feature = "Element")]
    # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , 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/IntersectionObserverEntry/target)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Element`, `IntersectionObserverEntry`*"]
    pub fn target(this: &IntersectionObserverEntry) -> Element;
}