Quick View API reference
Events
Listed below are all the events emitted by the quick view component. Use .on() to register event listeners to each of these events.
library.quickView.Event.CLOSE
The quick view component is about to close.
library.quickView.Event.CLOSED
The quick view component has closed. All transitions and closing animations are completed.
library.quickView.Event.OPEN
The quick view component is about to open.
library.quickView.Event.OPENED
The quick view component has opened. All transitions and opening animations are completed.
Methods
This section lists the public methods the quick view component exposes.
hide()
Hide the quick view currently visible.
Usage example:
off(event: string, handler: () => void)
Removes a previously registered event listener from receiving any more events.
Parameters
event — A string which specifies the type of event for which to remove an event listener.
handler — The event listener function of the event handler to remove from the LiSA player.
The event listener function of the event handler must be the same as at the time of registration. Using .bind() changes the function reference.
Calling off() with arguments that do not identify any currently registered event listener on the quick view component has no effect.
Usage example:
on(event: string, handler)
Registeres an event handler for any of the events listed above.
Usage example:
removeAllListeners(event: string)
Remove all event listeners previously registered to the LiSA player.
Usage example:
show(url: string)
Open the given url in the quick view component.
Usage example:
Last updated