ExtensionActionOptions constructor

ExtensionActionOptions({
  1. bool? displayActionCountAsBadgeText,
  2. TabActionCountUpdate? tabUpdate,
})

Implementation

ExtensionActionOptions({
  /// Whether to automatically display the action count for a page as the
  /// extension's badge text. This preference is persisted across sessions.
  bool? displayActionCountAsBadgeText,

  /// Details of how the tab's action count should be adjusted.
  TabActionCountUpdate? tabUpdate,
}) : _wrapped = $js.ExtensionActionOptions(
        displayActionCountAsBadgeText: displayActionCountAsBadgeText,
        tabUpdate: tabUpdate?.toJS,
      );