ViewStackPage.setBadgeNumber

Sets the badge number for this page.

classViewSwitcher can display it as a badge next to the page icon. It is commonly used to display a number of unread items within the page.

It can be used together with propertyViewStack{age}:needs-attention.

class ViewStackPage
void
setBadgeNumber

Parameters

badgeNumber uint

the new value to set