gloo_events::EventListener Struct

The Document Struct represents a web page (DOM tree) loaded in the browser. It provides the common properties and methods for a web page document.

Cargo.toml

[package]
name = "web_sys_document"
version = "0.1.0"
authors = ["www.webassemblyman.com"]
edition = "2019"

[lib]
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.50"
gloo = "0.2.0"

[dependencies.web-sys]
version = "0.3.4"
features = [
  'Document',
  'Element',
  'HtmlElement',
  'Node',
  'Window',
  'console',
]
        

Functions

features/dependencies

Source Code