v24
Ask or search…
K
Links
Comment on page

Handle Listings Ready

<String> LViS.Listings.ON_READY
Called when Studio has become ready after API initialisation. You should normally use LViS.ON_READY event instead of this because the initialisation incapsulates handling listings readiness.

Example

// shorthand
var L = LViS.Listings;
// subscribe to event
L.bind(L.ON_READY, function () {
// listings are ready and we can get list of episodes
var episodes = L.getList();
});