<void> setEvent(<LViS.Event> event)
With LViS initialized, you can now use methods of the Listings object to find the current or next LViS Event and make it active. LViS.setEvent
sets LViS Event as current working event and event
object fires LViS.Event.ON_READY
when it's fully initialized.
var current = LViS.Listings.getCurrent(),event = (current !== null) ? current[0] : null;​if (event !== null) {event.bind(LViS.Event.ON_READY, function () {var history = event.getHistory();})LViS.setEvent(event);}