Neptunium, Promethium, Manganese

    content-loaded
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.1 • Public • Published

    content-loaded NPM version

    use document.readyState and document.addEventListener('DOMContentLoaded') to resolve the Promise telling you when the browser is ready.

    Quick example

    import contentLoaded from 'content-loaded';
     
    contentLoaded()
        .then(() => console.log('contentLoaded !'));

    Install

    npm i content-loaded

    DownloadsWeekly Downloads

    8

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    1.68 kB

    Total Files

    4

    Last publish

    Collaborators

    • churpeau