pub fn counter<M>(
value: i64,
range: RangeInclusive<i64>,
unit: impl Into<String>,
) -> Node<M>Expand description
A number from range, with a unit after it ("%", "°", or ""), shown like a label. It
keeps room for the widest number in range, so it doesn’t change width as it changes. When
value changes, the host counts to it through every number in between.