Liad.js demo

Liad is a wrapper for document.querySelector that returns a promise instead of an element. If you're looking for an element that might not exist yet, call liad.fetchElement(query, waitTime) to do something to that element asynchronously.

By default, Liad will give up after five seconds. Try searching for an id below, then creating a div with that id before five seconds pass!