|
2 | 2 | class="ui5-list-root"
|
3 | 3 | @focusin="{{_onfocusin}}"
|
4 | 4 | @keydown="{{_onkeydown}}"
|
5 |
| - @scroll="{{_onScroll}}" |
6 | 5 | >
|
7 |
| - <!-- header --> |
8 |
| - {{#if header.length}} |
9 |
| - <slot name="header" /> |
10 |
| - {{/if}} |
11 |
| - {{#if shouldRenderH1}} |
12 |
| - <header id="{{headerID}}" class="ui5-list-header"> |
13 |
| - {{headerText}} |
14 |
| - </header> |
15 |
| - {{/if}} |
| 6 | + <div class="ui5-list-scroll-container" @scroll="{{_onScroll}}"> |
| 7 | + <!-- header --> |
| 8 | + {{#if header.length}} |
| 9 | + <slot name="header" /> |
| 10 | + {{/if}} |
| 11 | + {{#if shouldRenderH1}} |
| 12 | + <header id="{{headerID}}" class="ui5-list-header"> |
| 13 | + {{headerText}} |
| 14 | + </header> |
| 15 | + {{/if}} |
| 16 | + |
| 17 | + {{#if hasData}} |
| 18 | + <div id="{{_id}}-before" tabindex="0" class="ui5-list-focusarea"></div> |
| 19 | + {{/if}} |
16 | 20 |
|
17 |
| - {{#if hasData}} |
18 |
| - <div id="{{_id}}-before" tabindex="0" class="ui5-list-focusarea"></div> |
19 |
| - {{/if}} |
| 21 | + <ul id="{{_id}}-listUl" |
| 22 | + class="ui5-list-ul" |
| 23 | + role="{{accRole}}" |
| 24 | + aria-label="{{ariaLabelТxt}}" |
| 25 | + aria-labelledby="{{ariaLabelledBy}}" |
| 26 | + aria-multiselectable="{{isMultiSelect}}" |
| 27 | + > |
| 28 | + <slot></slot> |
20 | 29 |
|
21 |
| - <ul id="{{_id}}-listUl" |
22 |
| - class="ui5-list-ul" |
23 |
| - role="{{accRole}}" |
24 |
| - aria-label="{{ariaLabelТxt}}" |
25 |
| - aria-labelledby="{{ariaLabelledBy}}" |
26 |
| - aria-multiselectable="{{isMultiSelect}}" |
27 |
| - > |
28 |
| - <slot></slot> |
| 30 | + {{#if showNoDataText}} |
| 31 | + <li id="{{_id}}-nodata" class="ui5-list-nodata" tabindex="{{noDataTabIndex}}" style="list-style-type: none;"> |
| 32 | + <div id="{{_id}}-nodata-text" class="ui5-list-nodata-text"> |
| 33 | + {{noDataText}} |
| 34 | + </div> |
| 35 | + </li> |
| 36 | + {{/if}} |
| 37 | + </ul> |
29 | 38 |
|
30 |
| - {{#if showNoDataText}} |
31 |
| - <li id="{{_id}}-nodata" class="ui5-list-nodata" tabindex="{{noDataTabIndex}}" style="list-style-type: none;"> |
32 |
| - <div id="{{_id}}-nodata-text" class="ui5-list-nodata-text"> |
33 |
| - {{noDataText}} |
34 |
| - </div> |
35 |
| - </li> |
| 39 | + {{#if footerText}} |
| 40 | + <footer id="{{_id}}-footer" class="ui5-list-footer"> |
| 41 | + {{footerText}} |
| 42 | + </footer> |
36 | 43 | {{/if}}
|
37 |
| - </ul> |
38 |
| - |
39 |
| - {{#if footerText}} |
40 |
| - <footer id="{{_id}}-footer" class="ui5-list-footer"> |
41 |
| - {{footerText}} |
42 |
| - </footer> |
43 |
| - {{/if}} |
44 | 44 |
|
45 |
| - {{#if showBusy}} |
46 |
| - <div class="ui5-list-busy-row"> |
47 |
| - <ui5-busyindicator ?active="{{busy}}" size="Medium" class="ui5-list-busy-ind"></ui5-busyindicator> |
48 |
| - </div> |
49 |
| - {{/if}} |
| 45 | + {{#if hasData}} |
| 46 | + <div id="{{_id}}-after" tabindex="0" class="ui5-list-focusarea"></div> |
| 47 | + {{/if}} |
| 48 | + </div> |
50 | 49 |
|
51 |
| - {{#if hasData}} |
52 |
| - <div id="{{_id}}-after" tabindex="0" class="ui5-list-focusarea"></div> |
53 |
| - {{/if}} |
| 50 | + <div class="ui5-list-busy-row"> |
| 51 | + <ui5-busyindicator ?active="{{busy}}" size="Medium" class="ui5-list-busy-ind"></ui5-busyindicator> |
| 52 | + </div> |
54 | 53 | </div>
|
0 commit comments