Get LViS Event

<LViS.Event|null> getEvent()

Returns instance of the LViS Event which was set previously. Otherwise, returns null.

Example

var event = LViS.getEvent();
if (event === null) {
console.log('Event wasn\'t set yet');
} else {
console.log('Event\'s ID is %', event.getUUID());
}