PTMagic/Monitor/wwwroot/assets/plugins/doc-ready/README.md

24 lines
581 B
Markdown
Raw Normal View History

2018-05-22 10:11:50 +02:00
# docReady
Cross browser document ready helper. Supported by IE8+ and good browsers.
```js
docReady( function() {
console.log("DOM is ready. Let's party");
});
```
Props to [dperini/ContentLoaded](https://github.com/dperini/ContentLoaded) for original code
## Install
Install with [Bower](http://bower.io) `bower install doc-ready`
Install with npm `npm install doc-ready`
Install with [Component](http://github.com/component/component) `component install desandro/doc-ready`
## MIT License
docReady is released under the [MIT license](http://desandro.mit-license.org).