ViewStackPage.setBadgeNumber
void setBadgeNumber(uint badgeNumber)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.
Parameters
badgeNumber | the new value to set |