meter
element meter(float -> value): node
A bar filled to its value: meter level, meter memory.used { range: 0, memory.total }. Laid out taller than wide (width: 6; height: 80), it fills upward from the bottom, without its wave.
It takes no children.
Also every prop and event of node.
| Prop | Type | |
|---|---|---|
value | float | How full it is, in range (0 to 1 when unset); a value outside it is drawn at its nearer end. |
range | (float | auto, float | auto) | auto | The values its ends stand for: range: 0, 100; auto (or auto for one end, range: 0, auto) follows the values it showed in the last minute, on a 1, 2, 5 ladder (0 to 1 when unset); it moves when the meter draws, so it narrows at the first change after a burst is a minute old. |
track | paint | The paint of the unfilled part. |
wave | float | A wavy fill's amplitude; 0 is flat: wave: media.playing ? 3 : 0. |