blob: 488244959667a2537607fdd8cef92b8683de13f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<div class="custom-modal {{size}}">
<div class="ng2-modal-content">
<div class="ng2-modal-header">
<span class="title">{{ title }}</span>
<span class="close-button" (click)="close()"></span>
</div>
<div class="ng2-modal-body">
<ng-content></ng-content>
</div>
<div class="ng2-modal-footer">
<button *ngFor="let buttonName of buttonsNames"
class="tlv-btn {{buttons[buttonName].cssClass}}"
[disabled] = "buttons[buttonName].getDisabled && buttons[buttonName].getDisabled()"
(click) = "buttons[buttonName].callback()">{{buttons[buttonName].text}}</button>
</div>
</div>
</div>
<div class="modal-background"></div>
|