setPopup method

Future<void> setPopup(
  1. SetPopupDetails details
)

Sets the HTML document to be opened as a popup when the user clicks the browser action icon.

Implementation

Future<void> setPopup(SetPopupDetails details) async {
  await promiseToFuture<void>(
      $js.chrome.browserAction.setPopup(details.toJS));
}