getOptions method

Future<PanelOptions> getOptions(
  1. GetPanelOptions options
)

Returns the active panel configuration. |options|: Specifies the context to return the configuration for. |callback|: Returns a Promise which resolves with the active panel configuration.

Implementation

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