Type Alias ExtensionPanelRegistration

ExtensionPanelRegistration: {
    initPanel: (context: PanelExtensionContext) => void | () => void;
    name: string;
}

Type declaration

  • initPanel: (context: PanelExtensionContext) => void | () => void

    This function is invoked when your panel is initialized @return: (optional) A function which is called when the panel is removed or replaced. Typically intended for cleanup logic to gracefully teardown your panel.

  • name: string