@wordpress/dom-ready
Execute callback after the DOM is loaded.
Execute callback after the DOM is loaded.
Simple front-end CommonJS module - a handy function to ensure the DOM is fully ready before executing provided functionality.
A tiny, modern, on-document-ready that runs any given function(s) once the document is ready or immediately if the document is ready already.
Tiny DOM ready using requestAnimationFrame first, falling back to readyState.
Execute callback after the DOM is loaded.