setBadgeCount

fun setBadgeCount(count: Double = definedExternally): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)

Sets the badge count. It is app wide and not specific to this window.

Platform-specific

  • Windows: Unsupported. Use @{linkcode Window.setOverlayIcon} instead.

Return

A promise indicating the success or failure of the operation.

Parameters

count

The badge count. Use undefined to remove the badge.