// while loading the LViS Event<String> LViS.Event.STATE_PENDING// LViS Event is upcoming, start time > time now<String> LViS.Event.STATE_UPCOMING// LViS Event is current, start time < time now < end time<String> LViS.Event.STATE_ACTIVE// LViS Event is finished, end time < time now<String> LViS.Event.STATE_FINISHED// error occured during loading LViS Event data<String> LViS.Event.STATE_FAILURE
Set of constants used for state representation.
// assume LViS Event is set alreadyvar event = LViS.getEvent();​var state = event.getState();​switch (state) {case LViS.Event.STATE_UPCOMING:renderUpcomingState();return;case LViS.Event.STATE_ACTIVE:renderActiveState();return;...