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