Skip to content

Add document.ready promise #127

Open
@tabatkins

Description

@tabatkins

It's annoying to deal with window.onload, since your async code might not know whether it's run before or after the load event has fired. jQuery makes this easy with its $.ready() function, which functions in a promise-like manner.

So anyway, let's add a .ready promise to Document.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions