Get All Events

<Array> getList()

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

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

Example

var events = LViS.Listings.getList();

if (events !== null) {
  // getting events IDs

  var ids = events.map(function (event) {
    return event.getUUID();
  });
} else {
  console.log('No events were found');
}