Struct virtual_dom_rs::BrowserEvents
source · pub struct BrowserEvents {
pub oninput: RefCell<Option<Closure<dyn FnMut(InputEvent) + 'static>>>,
}
Expand description
We only support event handlers on wasm32 targets at this time. If you have a use case that needs them elsewhere please open an issue!
Fields§
§oninput: RefCell<Option<Closure<dyn FnMut(InputEvent) + 'static>>>
https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.HtmlElement.html#method.oninput
Trait Implementations§
source§impl Debug for BrowserEvents
impl Debug for BrowserEvents
source§impl Default for BrowserEvents
impl Default for BrowserEvents
source§fn default() -> BrowserEvents
fn default() -> BrowserEvents
Returns the “default value” for a type. Read more