1.2.1 • Published 7 years ago

content-loaded v1.2.1

Weekly downloads
30
License
MIT
Repository
github
Last release
7 years ago

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 !'));
1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

9 years ago

1.0.0

9 years ago