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
//! jQuery-like API for web-sys
//!
//! See [here](https://github.com/reyk/web-sys-query/blob/main/README.md)
//! for more information.
pub use crate::;
/// `query!` macro to find elements.
///
/// This macro is a helper for the `find` method.
///
/// # Examples
///
/// ```rust
/// use wasm_bindgen::prelude::*;
/// use web_sys_query::{query, Error};
///
/// #[wasm_bindgen]
/// pub fn hello() {
/// query!("body").unwrap().set_text("Hello, World!");
/// }
/// # fn main() {}
/// ```