Description

Returns a promise that is fulfilled when the current page DOM is loaded.

Signature


calli.ready()

calli.ready(obj)
Parameter Description
obj Object used to fulfil the promise

Example


calli.ready().then(function(){
    $('p').text("The DOM is now loaded and can be manipulated.");
});