|
1 | 1 | <button
|
2 |
| - type="button" |
3 |
| - class="ui5-button-root" |
4 |
| - ?disabled="{{disabled}}" |
5 |
| - data-sap-focus-ref |
6 |
| - {{> ariaPressed}} |
7 |
| - dir="{{effectiveDir}}" |
8 |
| - @focusout={{_onfocusout}} |
9 |
| - @focusin={{_onfocusin}} |
10 |
| - @click={{_onclick}} |
11 |
| - @mousedown={{_onmousedown}} |
12 |
| - @mouseup={{_onmouseup}} |
13 |
| - @keydown={{_onkeydown}} |
14 |
| - @keyup={{_onkeyup}} |
15 |
| - tabindex={{tabIndexValue}} |
16 |
| - aria-expanded="{{accInfo.ariaExpanded}}" |
17 |
| - aria-controls="{{accInfo.ariaControls}}" |
18 |
| - aria-haspopup="{{accInfo.ariaHaspopup}}" |
19 |
| - aria-label="{{ariaLabelText}}" |
20 |
| - title="{{accInfo.title}}" |
21 |
| - part="button" |
22 |
| - > |
23 |
| - {{#if icon}} |
24 |
| - <ui5-icon |
25 |
| - class="ui5-button-icon" |
26 |
| - name="{{icon}}" |
27 |
| - show-tooltip={{iconOnly}} |
28 |
| - ></ui5-icon> |
29 |
| - {{/if}} |
| 2 | + type="button" |
| 3 | + class="ui5-button-root" |
| 4 | + ?disabled="{{disabled}}" |
| 5 | + data-sap-focus-ref |
| 6 | + {{> ariaPressed}} |
| 7 | + dir="{{effectiveDir}}" |
| 8 | + @focusout={{_onfocusout}} |
| 9 | + @focusin={{_onfocusin}} |
| 10 | + @click={{_onclick}} |
| 11 | + @mousedown={{_onmousedown}} |
| 12 | + @mouseup={{_onmouseup}} |
| 13 | + @keydown={{_onkeydown}} |
| 14 | + @keyup={{_onkeyup}} |
| 15 | + tabindex={{tabIndexValue}} |
| 16 | + aria-expanded="{{accInfo.ariaExpanded}}" |
| 17 | + aria-controls="{{accInfo.ariaControls}}" |
| 18 | + aria-haspopup="{{accInfo.ariaHaspopup}}" |
| 19 | + aria-label="{{ariaLabelText}}" |
| 20 | + title="{{accInfo.title}}" |
| 21 | + part="button" |
| 22 | +> |
| 23 | + {{#if icon}} |
| 24 | + <ui5-icon |
| 25 | + class="ui5-button-icon" |
| 26 | + name="{{icon}}" |
| 27 | + show-tooltip={{iconOnly}} |
| 28 | + ></ui5-icon> |
| 29 | + {{/if}} |
30 | 30 |
|
31 |
| - <span id="{{_id}}-content" class="ui5-button-text"> |
32 |
| - <bdi> |
33 |
| - <slot></slot> |
34 |
| - </bdi> |
35 |
| - </span> |
| 31 | + <span id="{{_id}}-content" class="ui5-button-text"> |
| 32 | + <bdi> |
| 33 | + <slot></slot> |
| 34 | + </bdi> |
| 35 | + </span> |
36 | 36 |
|
37 |
| - {{#if hasButtonType}} |
38 |
| - <span class="ui5-hidden-text">{{buttonTypeText}}</span> |
39 |
| - {{/if}} |
| 37 | + {{#if hasButtonType}} |
| 38 | + <span class="ui5-hidden-text">{{buttonTypeText}}</span> |
| 39 | + {{/if}} |
40 | 40 | </button>
|
41 | 41 |
|
42 | 42 | {{#*inline "ariaPressed"}}{{/inline}}
|
0 commit comments