|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- # API Events
-
- ## `load`
-
- Fired when a panorama finishes loading.
-
-
- ## `scenechange`
-
- Fired when a scene change is initiated. A `load` event will be fired when the
- new scene finishes loading. Passes scene ID string to handler.
-
-
- ## `fullscreenchange`
-
- Fired when browser fullscreen status changed. Passes status boolean to handler.
-
-
- ## `zoomchange`
-
- Fired when scene hfov update. Passes new HFOV value to handler.
-
-
- ## `scenechangefadedone`
-
- If a scene transition fade interval is specified, this event is fired when the
- fading is completed after changing scenes.
-
-
- ## `animatefinished`
-
- Fired when any movements / animations finish, i.e. when the renderer stops
- rendering new frames. Passes final pitch, yaw, and HFOV values to handler.
-
-
- ## `error`
-
- Fired when an error occured. The error message string is passed to the
- event listener.
-
-
- ## `errorcleared`
-
- Fired when an error is cleared.
-
-
- ## `mousedown`
-
- Fired when the mouse button is pressed. Passes `MouseEvent` to handler.
-
-
- ## `mouseup`
-
- Fired when the mouse button is released. Passes `MouseEvent` to handler.
-
-
- ## `touchstart`
-
- Fired when a touch starts. Passes `TouchEvent` to handler.
-
-
- ## `touchend`
-
- Fired when a touch ends. Passes `TouchEvent` to handler.
-
-
- ## `messageshown`
-
- Fired when a message, e.g., for needing `ctrl` + scroll to zoom, is shown.
-
-
- ## `messagecleared`
-
- Fired when a previously shown message is cleared.
|