NotificationBadge

NotificationBadge

# new NotificationBadge(badgeMap)

Parameters:
Name Type Description
badgeMap Object Content parameters
Properties
Name Type Attributes Description
increase number <optional>
Increase amount
badge number <optional>
Number in badge

Methods

# (static) increase(by) → {NotificationBadge}

Creates badge to increase badge number.
Parameters:
Name Type Description
by number Number to increase by.
Returns:
New instance.
Type
NotificationBadge

# (static) set(to) → {NotificationBadge}

Creates badge to set badge number.
Parameters:
Name Type Description
to number Badge value.
Returns:
New instance.
Type
NotificationBadge