[−][src]Macro web_sys_query::query
query!
macro to find elements.
This macro is a helper for the find
method.
Examples
use wasm_bindgen::prelude::*; use web_sys_query::{query, Error}; #[wasm_bindgen] pub fn hello() { query!("body").unwrap().set_text("Hello, World!"); }