Two small signals: count/1, the round bubble with a number (4 pull requests waiting), and dot/1, the
status dot (connected, running). A dot can pulse, and stops under prefers-reduced-motion.
Summary
Functions
Attributes
value(:integer) (required)max(:integer) - above this the bubble reads99+. Defaults to99.tone(:atom) - Defaults to:neutral. Must be one of:neutral, or:risk.class(:any) - Defaults tonil.- Global attributes are accepted.
Attributes
tone(:atom) - Defaults to:ok. Must be one of:ok,:warn,:risk,:info, or:neutral.pulse(:boolean) - Defaults tofalse.label(:string) - what the dot says, for assistive technology; without it the dot is decoration. Defaults tonil.class(:any) - Defaults tonil.- Global attributes are accepted.