Skip to content

Triggers

These are the available callbacks that the 3d view will trigger and can be subscribed with subscribe method:

  • panning: Will be called when the camera moves.
  • fullscreen_enabled: Will be called when full screen is enabled.
  • fullscreen_disabled: Will be called when full screen is disabled.
  • start_load: Will be called when a view starts the load process.
  • end_load: Will be called when a view finishes the load process. Its first parameter is an error if something went wrong or null if not.
  • reset: Will be called when the 3d viewer is reset.