IComponentEventSpy | Matterport SDK
Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.

A spy that can be attached to be notified of a component events using spyOnEvent

Type parameters

  • T

Hierarchy

  • IComponentEventSpy

Index

Properties

Methods

Properties

Readonly eventType

eventType: string

The type of event to spy on

Methods

onEvent

  • Called when the attached component notifies of an eventType event

    Parameters

    Returns void