1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use *;
/// A busy indicator.
///
/// The glyph is a ring drawn with a CSS border whose leading edge is
/// highlighted and then rotated, so the spinner needs no image and no
/// inline SVG: it is one element and one animation.
///
/// The element carries `role="status"` and an `aria-label`, so assistive
/// technology reads the busy state instead of announcing an empty box.
///
/// # Arguments
///
/// - `VirtualNode<EuvSpinnerProps>` - The props node carrying the label.
///
/// # Returns
///
/// - `VirtualNode` - The spinner virtual DOM tree.