JSPM

doc-ready

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3768
  • Score
    100M100P100Q126144F
  • License MIT

Let's get this party started... on document ready

Package Exports

  • doc-ready

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (doc-ready) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

docReady

Cross browser document ready helper. Supported by IE8+ and good browsers.

docReady( function() {
  console.log("DOM is ready. Let's party");
});

Props to dperini/ContentLoaded for original code

Install

Install with Bower bower install doc-ready

Install with npm npm install doc-ready

Install with Component component install desandro/doc-ready

MIT License

docReady is released under the MIT license.