document-ready

crates.io version build status downloads docs.rs docs

Document ready listener for browsers.

Usage

```rs use documentready::documentready; use wasm_bindgen::prelude::*;

[wasm_bindgen(start)]

pub fn main() { println!("waiting on document to load"); await!{document_ready()}; println!("document loaded!"); } ```

Installation

sh $ cargo add document-ready

Contributing

Want to join us? Check out our The "Contributing" section of the guide and take a look at some of these issues:

License

MIT OR Apache-2.0