Skip to main content
Skip table of contents

Event Listeners

As there are different kind of events that you might be interested in, the viewer has an event system to listen to them. The event listener is called whenever this event is emitted. The event listener is added with a callback and can be removed with the token that has been received.

In the following example, we register an event listener whenever the scene has been customized.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.