@inweb/viewer-visualize
    Preparing search index...

    Interface IDragger

    Defines the dragger interface for the viewer.

    interface IDragger {
        name?: string;
        dispose(): void;
        initialize(): void;
        updatePreview(): void;
    }
    Index

    Properties

    name?: string

    The name of the dragger. Use this name to activate dragger using Viewer.setActiveDragger()

    Methods

    • Releases resources allocated by the dragger.

      Returns void

    • Deprecated since 25.12. Use costructor instead to initialize dragger.

      Returns void

    • Deprecated since 25.12. Instead, register an update event listener for the viewer and update the dragger preview in the event handler.

      Returns void