Type alias ExtensionPanelRegistration

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

Type declaration

  • initPanel: ((context) => 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