hd-playpause
A play/pause button face that turns from one into the other; it shows what a tap does. Reduced motion: a fade; e-ink snaps.
| Attribute | What it is |
|---|---|
playing | Whether it plays (then it shows pause). Or a live capability of any device, followed: {{ settings.x.cap.onoff }}. |
size | CSS size, like hd-icon’s.Default 1em. |
<button data-hd-on-click="toggle('speaker_playing')"> <hd-playpause playing="{{ cap.speaker_playing }}" size="24px"></hd-playpause></button>