PanelOptions constructor

PanelOptions({
  1. int? tabId,
  2. String? path,
  3. bool? enabled,
})

Implementation

PanelOptions({
  /// If specified, the side panel options will only apply to the tab with
  /// this id. If omitted, these options set the default behavior (used for
  /// any
  /// tab that doesn't have specific settings). Note: if the same path is set
  /// for this tabId and the default tabId, then the panel for this tabId will
  /// be a different instance than the panel for the default tabId.
  int? tabId,

  /// The path to the side panel HTML file to use. This must be a local
  /// resource within the extension package.
  String? path,

  /// Whether the side panel should be enabled. This is optional. The default
  /// value is true.
  bool? enabled,
}) : _wrapped = $js.PanelOptions(
        tabId: tabId,
        path: path,
        enabled: enabled,
      );