PanelClosedInfo constructor

PanelClosedInfo({
  1. required int windowId,
  2. int? tabId,
  3. required String path,
})

Implementation

PanelClosedInfo({
  /// The ID of the window where the side panel was closed. This is available
  /// for both global and tab-specific panels.
  required int windowId,

  /// The optional ID of the tab where the side panel was closed. This is
  /// provided only when the panel is tab-specific.
  int? tabId,

  /// The path of the local resource within the extension package whose
  /// content
  /// is displayed in the panel.
  required String path,
}) : _wrapped = $js.PanelClosedInfo(
        windowId: windowId,
        tabId: tabId,
        path: path,
      );