openPopup method

Future<void> openPopup(
  1. OpenPopupOptions? options
)

Opens the extension's popup. options Specifies options for opening the popup.

Implementation

Future<void> openPopup(OpenPopupOptions? options) async {
  await promiseToFuture<void>($js.chrome.action.openPopup(options?.toJS));
}