setBadgeText

Set badge content dynamically.

Parameters

text

Text content for the badge.