setOptions method

Future<void> setOptions(
  1. PanelOptions options
)

Configures the side panel. |options|: The configuration options to apply to the panel. |callback|: Returns a Promise which resolves when the options have been set.

Implementation

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