getOptions method

Future<PanelOptions> getOptions(
  1. GetPanelOptions options
)

Returns the active panel configuration. |options|: Specifies the context to return the configuration for. |callback|: Called with the active panel configuration.

Implementation

Future<PanelOptions> getOptions(GetPanelOptions options) async {
  var $res = await promiseToFuture<$js.PanelOptions>(
      $js.chrome.sidePanel.getOptions(options.toJS));
  return PanelOptions.fromJS($res);
}