doc-ready

WebJar for doc-ready

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

doc-ready
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

doc-ready
WebJar for doc-ready
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/desandro/doc-ready

Download doc-ready

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/doc-ready/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>doc-ready</artifactId>
    <version>1.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/doc-ready/
implementation 'org.webjars.npm:doc-ready:1.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/doc-ready/
implementation ("org.webjars.npm:doc-ready:1.0.3")
'org.webjars.npm:doc-ready:jar:1.0.3'
<dependency org="org.webjars.npm" name="doc-ready" rev="1.0.3">
  <artifact name="doc-ready" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='doc-ready', version='1.0.3')
)
libraryDependencies += "org.webjars.npm" % "doc-ready" % "1.0.3"
[org.webjars.npm/doc-ready "1.0.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : eventie jar [1.0.0,2)

Project Modules

There are no modules declared in this project.

No longer supported

Use DOMContentLoaded event instead. Supported by IE9+.

document.addEventListener( 'DOMContentLoaded', function( event ) {
  console.log("DOM is ready. Let's party");
});

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

MIT License

docReady is released under the MIT license.

Versions

Version
1.0.3