Magento 2
domReady!: a useful RequireJS plugin to ensure the DOM is loaded before your Magento 2 JavaScript execution
Development
requirejs
,
javascript
dmitrii_fediuk
(Dmitrii Fediuk)
January 24, 2016, 7:33am
2
See also:
How to insert some JavaScript to a *.phtml template in the proper way (x-magento-init)
How to load a JavaScript on demand using RequireJS
show post in topic