Defines the component of the viewer.

interface IComponent {
    name?: string;
    dispose(): void;
}

Properties

Methods

Properties

name?: string

The name of the component.

Methods

  • Releases resources allocated by the component.

    Returns void