We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ee5d0 commit 8844a8bCopy full SHA for 8844a8b
Cargo.toml
@@ -40,6 +40,7 @@ features = [
40
"Window",
41
"Document",
42
"Element",
43
+ "HtmlElement",
44
]
45
46
[dev-dependencies]
src/use_ref/helpers.rs
@@ -21,4 +21,16 @@ define_react_use_ref_helpers! {
21
use_ref_bool,
22
use_ref_bool_with,
23
},
24
+ {
25
+ value: web_sys::HtmlElement,
26
+ object: MutableRefObjectHtmlElment,
27
+ use_ref_html_element,
28
+ use_ref_html_element_with,
29
+ },
30
31
+ value: Option<web_sys::HtmlElement>,
32
+ object: MutableRefObjectOptionalHtmlElment,
33
+ use_ref_optional_html_element,
34
+ use_ref_optional_html_element_with,
35
36
}
0 commit comments