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