Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Variable notifierConst

    notifier: {
        error(message: string, options?: ErrorNotificationOptions): void;
        toast(message: string, durationMs?: number): void;
        showHelp(bindings: RegisteredShortcutBindings): void;
        hideHelp(): void;
        showLoading(): void;
        hideLoading(): void;
        clearError(): void;
        showSceneIdentityBanner(kind: "changed" | "unreachable"): void;
        hideSceneIdentityBanner(onlyKind?: "changed" | "unreachable"): void;
    } = ...

    Public notifier surface. Methods are stable; backends can come and go without changing call sites.

    Type Declaration

    • error: function
    • toast: function
      • Brief toast notification that auto-dismisses.

        Parameters

        • message: string
        • durationMs: number = 2000

        Returns void

    • showHelp: function
    • hideHelp: function
    • showLoading: function
    • hideLoading: function
    • clearError: function
    • showSceneIdentityBanner: function
      • Show the persistent scene-identity banner (changed / unreachable).

        Parameters

        • kind: "changed" | "unreachable"

        Returns void

    • hideSceneIdentityBanner: function
      • Hide the scene-identity banner (optionally only a specific kind).

        Never warns about a missing backend: this is teardown, not a dropped message. The app dispose pipeline clears the backend before it destroys the SceneLoaderManager, so the watchdog's own dispose necessarily lands after — and "there is no UI left to clear" is the expected state there, not the misconfiguration warnIfMissing reports.

        Parameters

        • OptionalonlyKind: "changed" | "unreachable"

        Returns void