Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace IEventsTypes

events when using addEventListener on the visualizer element for example:

const handleOnSceneLoaded = ({ scene }) => {
};
visualizerApp.on('sceneLoaded', handleOnSceneLoaded);

Index

Type aliases

OnSceneLoading

OnSceneLoading: (eventData: { scene: IScene; sceneConfiguration: ISceneConfigurationEntityOutput }) => void

Type declaration

Events

OnCamera

OnCamera: (eventData: { eventType: ICameraEventType }) => void

Type declaration

OnContainerInjected

OnContainerInjected: (eventData: { visualizer: Visualizer }) => void

Type declaration

    • (eventData: { visualizer: Visualizer }): void
    • Parameters

      • eventData: { visualizer: Visualizer }
        • visualizer: Visualizer

      Returns void

OnProductChanged

OnProductChanged: (eventData: { fromFavorites?: undefined | false | true; product: IProduct }) => void

Type declaration

    • (eventData: { fromFavorites?: undefined | false | true; product: IProduct }): void
    • Parameters

      • eventData: { fromFavorites?: undefined | false | true; product: IProduct }
        • Optional fromFavorites?: undefined | false | true
        • product: IProduct

      Returns void

OnProductChanging

OnProductChanging: (eventData: { fromFavorites?: undefined | false | true; product: IProduct }) => void

Type declaration

    • (eventData: { fromFavorites?: undefined | false | true; product: IProduct }): void
    • Parameters

      • eventData: { fromFavorites?: undefined | false | true; product: IProduct }
        • Optional fromFavorites?: undefined | false | true
        • product: IProduct

      Returns void

OnRendered

OnRendered: (eventData: { hotspots: THotspotOnRender[]; visibleHotspots: THotspotOnRender[] }) => void

Type declaration

OnSceneConfigurationLabelChanged

OnSceneConfigurationLabelChanged: () => void

Type declaration

    • (): void
    • Returns void

OnSceneLoaded

OnSceneLoaded: (eventData: { scene: IScene | undefined }) => void

Type declaration

    • (eventData: { scene: IScene | undefined }): void
    • Parameters

      • eventData: { scene: IScene | undefined }

      Returns void

OnUserChangedProduct

OnUserChangedProduct: (eventData: { product: IProduct }) => void

Type declaration

    • (eventData: { product: IProduct }): void
    • Parameters

      • eventData: { product: IProduct }
        • product: IProduct

      Returns void

OnVisualizerLoaded

OnVisualizerLoaded: (eventData: { experienceConfiguration: ISceneConfigurationEntityOutput; visualizer: Visualizer }) => void

Type declaration

onApplicationPointClicked

onApplicationPointClicked: () => void

Type declaration

    • (): void
    • Returns void

onApplicationSelected

onApplicationSelected: (eventData: { application: IApplication }) => void

Type declaration

onApplicationsNavigateButtonClicked

onApplicationsNavigateButtonClicked: () => void

Type declaration

    • (): void
    • Returns void

onApplicationsStripButtonClicked

onApplicationsStripButtonClicked: () => void

Type declaration

    • (): void
    • Returns void

onApplicationsStripOpened

onApplicationsStripOpened: () => void

Type declaration

    • (): void
    • Returns void

onAsyncOperationEnded

onAsyncOperationEnded: (eventData: { processId?: undefined | string }) => void

Type declaration

    • (eventData: { processId?: undefined | string }): void
    • Parameters

      • eventData: { processId?: undefined | string }
        • Optional processId?: undefined | string

      Returns void

onAsyncOperationStarted

onAsyncOperationStarted: (eventData: { processId?: undefined | string; progress: { percent: number } }) => void

Type declaration

    • (eventData: { processId?: undefined | string; progress: { percent: number } }): void
    • Parameters

      • eventData: { processId?: undefined | string; progress: { percent: number } }
        • Optional processId?: undefined | string
        • progress: { percent: number }
          • percent: number

      Returns void

onCloseFullscreenClicked

onCloseFullscreenClicked: () => void

Type declaration

    • (): void
    • Returns void

onFavoriteSceneClicked

onFavoriteSceneClicked: () => void

Type declaration

    • (): void
    • Returns void

onFavoritesPanelClosed

onFavoritesPanelClosed: () => void

Type declaration

    • (): void
    • Returns void

onFavoritesPanelOpened

onFavoritesPanelOpened: () => void

Type declaration

    • (): void
    • Returns void

onFavoritesSceneDisplayed

onFavoritesSceneDisplayed: (eventData: { scene: IFavoriteScene }) => void

Type declaration

onFullscreenClicked

onFullscreenClicked: () => void

Type declaration

    • (): void
    • Returns void

onHoverHotspot

onHoverHotspot: (eventData: { hotspot: { application: string; isHover: boolean; title: string } }) => void

Type declaration

    • (eventData: { hotspot: { application: string; isHover: boolean; title: string } }): void
    • Parameters

      • eventData: { hotspot: { application: string; isHover: boolean; title: string } }
        • hotspot: { application: string; isHover: boolean; title: string }
          • application: string
          • isHover: boolean
          • title: string

      Returns void

onOrderSample

onOrderSample: (eventData: { product: IProduct }) => void

Type declaration

onProductAddedToCart

onProductAddedToCart: (eventData: { product: IProduct }) => void

Type declaration

onProductAddedToFavorites

onProductAddedToFavorites: (eventData: { favorites: IFavoriteProductList; product?: IProduct }) => void

Type declaration

onProductRemovedFromFavorites

onProductRemovedFromFavorites: (eventData: { favorites: IFavoriteProductList; product: IProduct }) => void

Type declaration

onSceneAddedToFavorites

onSceneAddedToFavorites: (eventData: { favoriteScenes: IFavoriteSceneList; scene?: IFavoriteScene }) => void

Type declaration

onSceneRemovedFromFavorites

onSceneRemovedFromFavorites: (eventData: { favoriteScenes: IFavoriteSceneList; scene: IFavoriteScene }) => void

Type declaration

onSceneTouched

onSceneTouched: (eventData: { scene: IScene }) => void

Type declaration

    • (eventData: { scene: IScene }): void
    • Parameters

      Returns void

onScenesPanelClosed

onScenesPanelClosed: () => void

Type declaration

    • (): void
    • Returns void

onScenesPanelOpened

onScenesPanelOpened: () => void

Type declaration

    • (): void
    • Returns void

onSummaryClicked

onSummaryClicked: (eventData: { scene: IScene }) => void

Type declaration

    • (eventData: { scene: IScene }): void
    • Parameters

      Returns void

onSummaryDownloaded

onSummaryDownloaded: (eventData: { blobUrl: string; products: { application: string; product: IProduct }[]; scene: IScene }) => void

Type declaration

    • (eventData: { blobUrl: string; products: { application: string; product: IProduct }[]; scene: IScene }): void
    • Parameters

      • eventData: { blobUrl: string; products: { application: string; product: IProduct }[]; scene: IScene }
        • blobUrl: string
        • products: { application: string; product: IProduct }[]
        • scene: IScene

      Returns void

Generated using TypeDoc