Collections of useful macros for wasm

Examples

```rust use wasmmacro::*; //locationassign onclick:move||{ locationassign!("/demo");// nevigate to /demo } //locationherf onclick:move||{ let herf = locationherf!(); consolelog!(herf); //get current location herf } //locationreload onclick:move||{ locationreload!(); //reload current location } //queryselector onclick:move||{ let maindiv = documentqueryselector!(".main"); match maindiv{ Some(div) => { div.appendchild(&documentcreateelement!("div").clonenode().unwrap()); }, None => {}, } } //queryselectorall onclick:move||{ let maindiv = documentqueryselectorall!(".main"); match maindiv.get(0){ //frist of NodeList Some(div) => { div.appendchild(&documentcreateelement!("div").clonenode().unwrap()); }, None => {}, } // get innerhtml onclick:move||{ consolelog!(elementinnerhtml!(".main")); } //set innerhtml onclick:move||{ elementsetinner_html!(".main","

hello

"); }

//console.log() onclick:move||{ consolelog!(elementinnerhtml!(".main")); } ```