Handle Listings Update

<String> LViS.Listings.ON_UPDATE

Called when an Event is added to the listings or removed from the listings, or when project settings or any Event in the listings is changed, e.g. title, duration, state, etc. Subscribe to LViS.Listings.ON_UPDATE to listen to any updates in listings, for example, to handle new event being scheduled.

It's the library's ability to handle these real-time conditions that will save you time and reduce testing time.


// shorthand
var L = LViS.Listings;

// subscribe to event
L.bind(L.ON_UPDATE, function () {
  // handle project settings or events update