Ref interface for UiContainer, exposing methods to interact with the UI from parent components.

interface UiContainerRef {
    onUserAction: (() => void);
}

Properties

Properties

onUserAction: (() => void)

Programmatically triggers the UI fade-in animation. Useful for showing the UI in response to external events (e.g., keyboard shortcuts).

Type declaration

    • (): void
    • Returns void