Skip to content

TiddoLangerak/documentReady

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Promise that resolves when the document has triggered the DOMContentLoaded event.

Usage

import documentReady from '@tiddo/document-ready';

async function init() {
	await documentReady;
	console.log("Document is ready!");
}
init();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published