Get All Events

<Array> getList()

Returns array of all LViS.Event objects sorted by start time in ascending order.

By default LViS listings do not return any past and future events. The number of past and future events is controlled via project settings in LViS Studio.


var events = LViS.Listings.getList();
if (events !== null) {
// getting events IDs
var ids = (event) {
return event.getUUID();
} else {
console.log('No events were found');