Interface CustomPanelInstance

The custom panel instance for controlling and manipulating a custom panel in web chat.

interface CustomPanelInstance {
    close: () => void;
    hostElement: HTMLDivElement;
    open: (options?: CustomPanelConfigOptions) => void;
}

Properties

close: () => void

Closes the custom panel.

hostElement: HTMLDivElement

The custom panel hostElement.

open: (options?: CustomPanelConfigOptions) => void

Opens the custom panel.

Type declaration

MMNEPVFCICPMFPCPTTAAATR