Crate wasm_macro

Source

Modules§

macros

Macros§

console_log
demo
get element attribute
document_base_uri
return base_uri
document_create_element
Create Element
document_inner_html
get inner_html value of String
document_query_selector
return first Element within the document that matches the specified selector, or group of selectors
document_query_selector_all
returns a static (not live) NodeList representing a list of the document’s elements that match the specified group of selectors.
document_set_inner_html
set inner_html to value
element_get_attribute
get element attribute
location_assign
location_assign!(“/admin”) navigate to /admin route
location_herf
get current location herf
location_reload
Reload the resource from the current URL