Skip to main content

badge_text

Function badge_text 

Source
pub fn badge_text(count: Option<&Value>) -> Option<String>
Expand description

The badge text of an option’s count (99+ above 99); None when unset, not a positive number, or 0 (hidden). Only bar items paint it.