Skip to content

Document ready listener for browsers

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

yoshuawuyts/document-ready

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

document-ready

crates.io version build status downloads docs.rs docs

Document ready listener for browsers.

Usage

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!");
}

Installation

$ 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

About

Document ready listener for browsers

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages