highlight method

Future<Window> highlight(
  1. HighlightInfo highlightInfo
)

Highlights the given tabs and focuses on the first of group. Will appear to do nothing if the specified tab is currently active.

Implementation

Future<Window> highlight(HighlightInfo highlightInfo) async {
  var $res = await promiseToFuture<$js_windows.Window>(
      $js.chrome.tabs.highlight(highlightInfo.toJS));
  return Window.fromJS($res);
}