選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

events.md 861 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # API Events
  2. ## `load`
  3. Fired when a panorama finishes loading.
  4. ## `scenechange`
  5. Fired when a scene change is initiated. A `load` event will be fired when the
  6. new scene finishes loading. Passes scene ID string to handler.
  7. ## `scenechangefadedone`
  8. If a scene transition fade interval is specified, this event is fired when the
  9. fading is completed after changing scenes.
  10. ## `error`
  11. Fired when an error occured. The error message string is passed to the
  12. event listener.
  13. ## `errorcleared`
  14. Fired when an error is cleared.
  15. ## `mousedown`
  16. Fired when the mouse button is pressed. Passes `MouseEvent` to handler.
  17. ## `mouseup`
  18. Fired when the mouse button is released. Passes `MouseEvent` to handler.
  19. ## `touchstart`
  20. Fired when a touch starts. Passes `TouchEvent` to handler.
  21. ## `touchend`
  22. Fired when a touch ends. Passes `TouchEvent` to handler.