interface JAppPanel {
    icon: string;
    iconTooltip: string | JTranslationItem | (() => string);
    id: string;
    interactorId?: string | (() => undefined | string);
    isPopup?: boolean;
    leaveConfirmationMessageFn?: (() => undefined | JAppPanelLeaveResponse);
    onPanelCreation?: ((panelContainerId) => void);
    onPanelDestroy?: ((panelContainerId) => void);
    title?: string | JTranslationItem | (() => string);
}

Properties

icon: string
iconTooltip: string | JTranslationItem | (() => string)

Type declaration

    • (): string
    • Returns string

id: string
interactorId?: string | (() => undefined | string)

Type declaration

    • (): undefined | string
    • Returns undefined | string

isPopup?: boolean
leaveConfirmationMessageFn?: (() => undefined | JAppPanelLeaveResponse)

Type declaration

onPanelCreation?: ((panelContainerId) => void)

Type declaration

    • (panelContainerId): void
    • Parameters

      • panelContainerId: string

      Returns void

onPanelDestroy?: ((panelContainerId) => void)

Type declaration

    • (panelContainerId): void
    • Parameters

      • panelContainerId: string

      Returns void

title?: string | JTranslationItem | (() => string)

Type declaration

    • (): string
    • Returns string