getPanelBehavior method

Future<PanelBehavior> getPanelBehavior()

Returns the extension's current side panel behavior. |callback|: Called with the extension's side panel behavior.

Implementation

Future<PanelBehavior> getPanelBehavior() async {
  var $res = await promiseToFuture<$js.PanelBehavior>(
      $js.chrome.sidePanel.getPanelBehavior());
  return PanelBehavior.fromJS($res);
}