• function

first FuncUnit.prototype.first

 

first()

Asynchronous version of first. Performs the exact same functionality as the jQuery method but adds itself to the queue.

// after the click, filter the collection,
// then wait for result to be visible
S(".foo").click().first().visible();