disable method

Future<void> disable(
  1. int? tabId
)

Disables the browser action for a tab. tabId The ID of the tab for which to modify the browser action.

Implementation

Future<void> disable(int? tabId) async {
  await promiseToFuture<void>($js.chrome.browserAction.disable(tabId));
}