Widget: { onPanelClose: () => void; onPanelOpen: () => void } = ...

Type declaration

  • onPanelClose: () => void

    This method is called when a widget closes its panel It lets the panelManager restore the state of the other widgets

  • onPanelOpen: () => void

    This method is called when a widget opens a panel It calls the panelManager to automatically close other panels