IFClite TypeScript API
    Preparing search index...

    Class ViewerManager

    Index
    • Returns void

    • Returns boolean

    • Subscribe to selection changes. Returns an unsubscribe handle.

      Parameters

      Returns () => void

    • Start the viewer for model. If already running for the same model, returns the existing state. If a different model is requested, the caller must close() first — we don't auto-swap to avoid surprising mid-session changes.

      Parameters

      Returns Promise<ViewerState>

    • Send a one-off command via the viewer's REST API.

      Parameters

      • action: string
      • Optionalpayload: Record<string, unknown>

      Returns Promise<void>