setOptions method

Future<void> setOptions(
  1. PanelOptions options
)

Configures the side panel. |options|: The configuration options to apply to the panel. |callback|: Invoked when the options have been set.

Implementation

Future<void> setOptions(PanelOptions options) async {
  await promiseToFuture<void>($js.chrome.sidePanel.setOptions(options.toJS));
}