|
1 | 1 | <div>
|
2 | 2 | <div class="example-listbox-grid">
|
3 | 3 | <div class="example-listbox-container">
|
4 |
| - <h4>Single Select - Able to navigate to and select an option.</h4> |
5 |
| - <cdk-listbox-single-select-example></cdk-listbox-single-select-example> |
| 4 | + <h4>Multi Select w/ Selection Follows Focus</h4> |
| 5 | + <cdk-listbox-multi-select-follow-focus-example></cdk-listbox-multi-select-follow-focus-example> |
6 | 6 | </div>
|
7 | 7 |
|
8 | 8 | <div class="example-listbox-container">
|
9 |
| - <h4> |
10 |
| - Multi Select - Able to select a range of options using shift + arrow keys, shift + home/end, |
11 |
| - and shift + clicking. |
12 |
| - </h4> |
13 |
| - <cdk-listbox-multi-select-example></cdk-listbox-multi-select-example> |
| 9 | + <h4>Single Select w/ Selection Follows Focus</h4> |
| 10 | + <cdk-listbox-single-select-follow-focus-example></cdk-listbox-single-select-follow-focus-example> |
14 | 11 | </div>
|
15 | 12 |
|
16 | 13 | <div class="example-listbox-container">
|
17 |
| - <h4>Single Select w/ Selection Follows Focus</h4> |
18 |
| - <cdk-listbox-single-select-follow-focus-example></cdk-listbox-single-select-follow-focus-example> |
| 14 | + <h4>Multi Select</h4> |
| 15 | + <cdk-listbox-multi-select-example></cdk-listbox-multi-select-example> |
19 | 16 | </div>
|
20 | 17 |
|
21 | 18 | <div class="example-listbox-container">
|
22 |
| - <h4> |
23 |
| - Multi Select w/ Selection Follows Focus - Able to navigate without changing selection by |
24 |
| - holding ctrl while navigating. |
25 |
| - </h4> |
26 |
| - <cdk-listbox-multi-select-follow-focus-example></cdk-listbox-multi-select-follow-focus-example> |
| 19 | + <h4>Single Select</h4> |
| 20 | + <cdk-listbox-single-select-example></cdk-listbox-single-select-example> |
27 | 21 | </div>
|
28 | 22 |
|
29 | 23 | <div class="example-listbox-container">
|
30 |
| - <h4>Horizontal Orientation - Able to navigate using left and right arrow keys.</h4> |
31 |
| - <cdk-listbox-horizontal-example></cdk-listbox-horizontal-example> |
| 24 | + <h4>Disabled</h4> |
| 25 | + <cdk-listbox-disabled-example></cdk-listbox-disabled-example> |
32 | 26 | </div>
|
33 | 27 |
|
34 | 28 | <div class="example-listbox-container">
|
35 |
| - <h4 dir="rtl">RTL & Horizontal Orientation - Able to navigate through the list as expected.</h4> |
36 |
| - <cdk-listbox-rtl-horizontal-example></cdk-listbox-rtl-horizontal-example> |
| 29 | + <h4>Readonly</h4> |
| 30 | + <cdk-listbox-readonly-example></cdk-listbox-readonly-example> |
37 | 31 | </div>
|
38 | 32 |
|
39 | 33 | <div class="example-listbox-container">
|
40 |
| - <h4>Active Descendant - Able to navigate to and select an option.</h4> |
41 |
| - <cdk-listbox-active-descendant-example></cdk-listbox-active-descendant-example> |
| 34 | + <h4>Disabled Options are Skipped</h4> |
| 35 | + <cdk-listbox-disabled-skipped-example></cdk-listbox-disabled-skipped-example> |
42 | 36 | </div>
|
43 | 37 |
|
44 | 38 | <div class="example-listbox-container">
|
45 |
| - <h4>Disabled Options are Focusable - Able to navigate to a disabled option. Disabled options are not selectable (including range selection).</h4> |
| 39 | + <h4>Disabled Options are Focusable</h4> |
46 | 40 | <cdk-listbox-disabled-focusable-example></cdk-listbox-disabled-focusable-example>
|
47 | 41 | </div>
|
48 | 42 |
|
49 | 43 | <div class="example-listbox-container">
|
50 |
| - <h4>Disabled Options are Skipped - Disabled options are skipped over. Disabled options are not selectable (including range selection).</h4> |
51 |
| - <cdk-listbox-disabled-skipped-example></cdk-listbox-disabled-skipped-example> |
| 44 | + <h4>Active Descendant</h4> |
| 45 | + <cdk-listbox-active-descendant-example></cdk-listbox-active-descendant-example> |
52 | 46 | </div>
|
53 | 47 |
|
54 | 48 | <div class="example-listbox-container">
|
55 |
| - <h4>Readonly - The listbox is navigable but selection state cannot be changed.</h4> |
56 |
| - <cdk-listbox-readonly-example></cdk-listbox-readonly-example> |
| 49 | + <h4 dir="rtl">RTL & Horizontal Orientation</h4> |
| 50 | + <cdk-listbox-rtl-horizontal-example></cdk-listbox-rtl-horizontal-example> |
57 | 51 | </div>
|
58 | 52 |
|
59 | 53 | <div class="example-listbox-container">
|
60 |
| - <h4>Disabled - Focus should land on the listbox instead of an option.</h4> |
61 |
| - <cdk-listbox-disabled-example></cdk-listbox-disabled-example> |
| 54 | + <h4>Horizontal Orientation</h4> |
| 55 | + <cdk-listbox-horizontal-example></cdk-listbox-horizontal-example> |
62 | 56 | </div>
|
63 | 57 | </div>
|
64 | 58 |
|
65 | 59 | <div class="example-configurable-listbox-container">
|
66 |
| - <h4>Configurable Listbox</h4> |
| 60 | + <h4>Configurable</h4> |
67 | 61 | <cdk-listbox-configurable-example></cdk-listbox-configurable-example>
|
68 | 62 | </div>
|
69 | 63 | </div>
|
0 commit comments