Crates.io | document-ready |
lib.rs | document-ready |
version | 2.0.0 |
source | src |
created_at | 2019-02-10 13:57:22.529553 |
updated_at | 2020-02-03 15:17:35.671205 |
description | Document ready listener for browsers |
homepage | |
repository | https://github.com/yoshuawuyts/document-ready |
max_upload_size | |
id | 113908 |
size | 27,945 |
Document ready listener for browsers.
use document_ready::document_ready;
use wasm_bindgen::prelude::*;
#[wasm_bindgen(start)]
pub fn main() {
println!("waiting on document to load");
await!{document_ready()};
println!("document loaded!");
}
$ cargo add document-ready
Want to join us? Check out our The "Contributing" section of the guide and take a look at some of these issues:
MIT OR Apache-2.0