interface AlertUi {
    context: WidgetContext;
    root: HTMLElement;
    close(): void;
    destroy(): void;
    isOpen(): boolean;
    openEditor(options?: AlertEditorOptions): boolean;
    openList(anchor?: HTMLElement): boolean;
    setTheme(name: WidgetThemeName, theme?: ChartTheme): void;
}

Properties

context: WidgetContext

Shared theme, overlays and controls for a custom host. Owned by this UI's lifetime.

root: HTMLElement

Methods

  • Releases UI only. The host still owns its chart and controllers.

    Returns void

  • Parameters

    • Optionalanchor: HTMLElement

    Returns boolean