blob: 064f02f75f8d35560c671a70624e8d3672496544 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import { Component, Input, ViewChild } from '@angular/core';
import { ModalDirective } from 'ngx-bootstrap/modal';
@Component({
selector: 'xds-sdk-add-modal',
templateUrl: 'sdkAddModal.component.html',
})
export class SdkAddModalComponent {
@ViewChild('sdkChildModal') public sdkChildModal: ModalDirective;
@Input() title?: string;
// TODO
constructor() {
}
show() {
this.sdkChildModal.show();
}
hide() {
this.sdkChildModal.hide();
}
}
|