/
Dialog.hbs
39 lines (36 loc) · 965 Bytes
/
Dialog.hbs
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
{{>include "./Popup.hbs"}}
{{#*inline "beforeContent"}}
{{#if _displayHeader }}
<header
class="ui5-popup-header-root"
id="ui5-popup-header"
tabindex="{{_headerTabIndex}}"
@keydown="{{_onDragOrResizeKeyDown}}"
@mousedown="{{_onDragMouseDown}}"
part="header"
state="{{this.state}}">
{{#if hasValueState}}
<ui5-icon class="ui5-dialog-value-state-icon" name="{{_dialogStateIcon}}"></ui5-icon>
{{/if}}
{{#if header.length }}
<slot name="header"></slot>
{{else}}
<h1 id="ui5-popup-header-text" class="ui5-popup-header-text">{{headerText}}</h1>
{{/if}}
</header>
{{/if}}
{{/inline}}
{{#*inline "afterContent"}}
{{#if footer.length }}
<footer class="ui5-popup-footer-root" part="footer">
<slot name="footer"></slot>
</footer>
{{/if}}
{{#if _showResizeHandle }}
<ui5-icon
name="resize-corner"
class="ui5-popup-resize-handle"
@mousedown="{{_onResizeMouseDown}}">
</ui5-icon>
{{/if}}
{{/inline}}