setPopup method

Future<void> setPopup(
  1. SetPopupDetails details
)

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

Implementation

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