Socket
Socket
Sign inDemoInstall

@mikaelkristiansson/domready

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mikaelkristiansson/domready

modern domready


Version published
Maintainers
1
Install size
7.81 kB
Created

Readme

Source

domReady

It's easy. Works like this:

domready(function () {
  // dom is loaded!
})

Deprecation Notice

Compatibility with IE6, IE7, and IE8 has been fully dropped. If your application requires this level of support, please use the 0.3.0 release.


Browser support

  • IE9+
  • Firefox 4+
  • Safari 3+
  • Chrome *
  • Opera *

Building

npm install
make
open tests/test.html

Including with Ender

Don't already have Ender? Install it like this:

npm install ender -g

Include domready in your package:

ender add domready

Then use it like this

require('domready')(function () {
  $('body').html('<p>boosh</p>')
})

// or

$(document).ready(function () {
  $('body').html('<p>boosh</p>')
})

Keywords

FAQs

Last updated on 12 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc