ExtensionActionOptions constructor
ExtensionActionOptions({
- bool? displayActionCountAsBadgeText,
- 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,
);