/doc-ready

lets get this party started... on document ready

Primary LanguageJavaScript

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

Download doc-ready.js

Install with 🐦 Bower bower install doc-ready

Install with npm 🚚 npm install desandro/doc-ready

Install with 🔩 component component install desandro/doc-ready

MIT License

docReady is released under the MIT license.