You're reading the Rask v1.0.0 guides.View source
All guides

IBadge

Set/clear the count on the installed app icon.

  • Wraps: Badging API
  • MDN: Badging API
  • Home: Rask.Core.Browser (all hosts)
  • Shape: one-shot
  • Availability: Web/Server ✅ · PWA/WASM ✅

setAppBadge needs an installed PWA instance, and the exact rendering is platform-dependent — treat the badge as a hint, not a guaranteed surface.

See also