# new NotificationBadge(badgeMap)
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
badgeMap |
Object | Content parameters
Properties
|
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