Skip to content
Brian Cavalier edited this page Jan 26, 2012 · 1 revision

The wire/domReady module can be used by wire plugins that need to hook into DOM Ready. Plugins can depend on wire/domReady instead of some loader or library-specific DOM Ready implementation, and wire/domReady will do the work of detecting what DOM Ready mechanism is available.

To use it, simply add wire/domReady to your wire plugin's dependencies. For example, see the wire/dom plugin

Clone this wiki locally