Skip to main content

counted

Function counted 

Source
pub fn counted<M>(content: Node<M>, count: u32) -> Node<M>
Expand description

Its content with count in a red badge at its top right, overlapping it a little: unread notifications on a bell. At 0 there’s no badge. The host grows the badge in and out and counts through the numbers in between; past 99 it shows 99.