Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace IEventsTypesListeners

events when using on/off on the visualizer instance for example:

const onVisualizerLoaded = ({ detail }) => {
 const visualizerApp: Visualizer = detail.visualizer;
 const applications = visualizerApp.GetApplicationsList();
 console.log(applications);
};
const containerElement = document.querySelector('.visualizer');
containerElement.addEventListener('visualizerLoaded', onVisualizerLoaded);

Index

Type aliases

OnSceneLoading

OnSceneLoading: (event: CustomEvent & { detail: { scene: IScene; sceneConfiguration: ISceneConfigurationEntityOutput } }) => void

Type declaration

Events

OnCamera

OnCamera: (event: CustomEvent & { detail: { eventType: ICameraEventType } }) => void

Type declaration

    • Parameters

      Returns void

OnContainerInjected

OnContainerInjected: (event: CustomEvent & { detail: { visualizer: IVisualizer } }) => void

Type declaration

    • (event: CustomEvent & { detail: { visualizer: IVisualizer } }): void
    • Parameters

      • event: CustomEvent & { detail: { visualizer: IVisualizer } }

      Returns void

OnProductChanged

OnProductChanged: (event: CustomEvent & { detail: { fromFavorites?: undefined | false | true; product: IProduct } }) => void

Type declaration

    • (event: CustomEvent & { detail: { fromFavorites?: undefined | false | true; product: IProduct } }): void
    • Parameters

      • event: CustomEvent & { detail: { fromFavorites?: undefined | false | true; product: IProduct } }

      Returns void

OnProductChanging

OnProductChanging: (event: CustomEvent & { detail: { fromFavorites?: undefined | false | true; product: IProduct } }) => void

Type declaration

    • (event: CustomEvent & { detail: { fromFavorites?: undefined | false | true; product: IProduct } }): void
    • Parameters

      • event: CustomEvent & { detail: { fromFavorites?: undefined | false | true; product: IProduct } }

      Returns void

OnRendered

OnRendered: (event: CustomEvent & { detail: { hotspots: THotspotOnRender[]; visibleHotspots: THotspotOnRender[] } }) => void

Type declaration

OnSceneConfigurationLabelChanged

OnSceneConfigurationLabelChanged: () => void

Type declaration

    • (): void
    • Returns void

OnSceneLoaded

OnSceneLoaded: (event: CustomEvent & { detail: { scene: IScene | undefined; sceneConfiguration: ISceneConfigurationEntityOutput } }) => void

Type declaration

OnUserChangedProduct

OnUserChangedProduct: (event: CustomEvent & { detail: { product: IProduct } }) => void

Type declaration

    • (event: CustomEvent & { detail: { product: IProduct } }): void
    • Parameters

      • event: CustomEvent & { detail: { product: IProduct } }

      Returns void

OnVisualizerLoaded

OnVisualizerLoaded: (event: CustomEvent & { detail: { experienceConfiguration: ISceneConfigurationEntityOutput; visualizer: IVisualizer } }) => void

Type declaration

onApplicationPointClicked

onApplicationPointClicked: () => void

Type declaration

    • (): void
    • Returns void

onApplicationSelected

onApplicationSelected: (event: CustomEvent & { detail: { application: IApplication } }) => void

Type declaration

    • (event: CustomEvent & { detail: { application: IApplication } }): void
    • Parameters

      • event: CustomEvent & { detail: { application: IApplication } }

      Returns void

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: (event: CustomEvent & { detail: { processId?: undefined | string } }) => void

Type declaration

    • (event: CustomEvent & { detail: { processId?: undefined | string } }): void
    • Parameters

      • event: CustomEvent & { detail: { processId?: undefined | string } }

      Returns void

onAsyncOperationStarted

onAsyncOperationStarted: (event: CustomEvent & { detail: { processId?: undefined | string; progress: { percent: number } } }) => void

Type declaration

    • (event: CustomEvent & { detail: { processId?: undefined | string; progress: { percent: number } } }): void
    • Parameters

      • event: CustomEvent & { detail: { processId?: undefined | string; progress: { 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: (event: CustomEvent & { detail: { scene: IFavoriteScene } }) => void

Type declaration

    • Parameters

      Returns void

onFullscreenClicked

onFullscreenClicked: () => void

Type declaration

    • (): void
    • Returns void

onHoverHotspot

onHoverHotspot: (event: CustomEvent & { detail: { hotspot: { application: string; isHover: boolean; title: string } } }) => void

Type declaration

    • (event: CustomEvent & { detail: { hotspot: { application: string; isHover: boolean; title: string } } }): void
    • Parameters

      • event: CustomEvent & { detail: { hotspot: { application: string; isHover: boolean; title: string } } }

      Returns void

onOrderSample

onOrderSample: (event: CustomEvent & { detail: { product: IProduct } }) => void

Type declaration

    • (event: CustomEvent & { detail: { product: IProduct } }): void
    • Parameters

      • event: CustomEvent & { detail: { product: IProduct } }

      Returns void

onProductAddedToCart

onProductAddedToCart: (event: CustomEvent & { detail: { product: IProduct } }) => void

Type declaration

    • (event: CustomEvent & { detail: { product: IProduct } }): void
    • Parameters

      • event: CustomEvent & { detail: { product: IProduct } }

      Returns void

onProductAddedToFavorites

onProductAddedToFavorites: (event: CustomEvent & { detail: { favorites: IFavoriteProductList; product?: IProduct } }) => void

Type declaration

onProductRemovedFromFavorites

onProductRemovedFromFavorites: (event: CustomEvent & { detail: { favorites: IFavoriteProductList; product: IProduct } }) => void

Type declaration

onProductsListed

onProductsListed: (event: CustomEvent & { detail: { products: { sku: string }[] } }) => void

Type declaration

    • (event: CustomEvent & { detail: { products: { sku: string }[] } }): void
    • Parameters

      • event: CustomEvent & { detail: { products: { sku: string }[] } }

      Returns void

onSceneAddedToFavorites

onSceneAddedToFavorites: (event: CustomEvent & { detail: { favoriteScenes: IFavoriteSceneList; scene?: IFavoriteScene } }) => void

Type declaration

onSceneRemovedFromFavorites

onSceneRemovedFromFavorites: (event: CustomEvent & { detail: { favoriteScenes: IFavoriteSceneList; scene: IFavoriteScene } }) => void

Type declaration

onSceneTouched

onSceneTouched: (event: CustomEvent & { detail: { scene: IScene } }) => void

Type declaration

    • (event: CustomEvent & { detail: { scene: IScene } }): void
    • Parameters

      • event: CustomEvent & { detail: { scene: IScene } }

      Returns void

onScenesPanelClosed

onScenesPanelClosed: () => void

Type declaration

    • (): void
    • Returns void

onScenesPanelOpened

onScenesPanelOpened: () => void

Type declaration

    • (): void
    • Returns void

onSummaryClicked

onSummaryClicked: (event: CustomEvent & { detail: { scene: IScene } }) => void

Type declaration

    • (event: CustomEvent & { detail: { scene: IScene } }): void
    • Parameters

      • event: CustomEvent & { detail: { scene: IScene } }

      Returns void

onSummaryDownloaded

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

Type declaration

    • (event: CustomEvent & { detail: { blobUrl: string; products: { application: string; product: IProduct }[]; scene: IScene } }): void
    • Parameters

      • event: CustomEvent & { detail: { blobUrl: string; products: { application: string; product: IProduct }[]; scene: IScene } }

      Returns void

Generated using TypeDoc