diff --git a/src/components/modal/nz-modal.component.ts b/src/components/modal/nz-modal.component.ts index c9885438ee4..3bd6732d94c 100644 --- a/src/components/modal/nz-modal.component.ts +++ b/src/components/modal/nz-modal.component.ts @@ -292,6 +292,18 @@ export class NzModalComponent implements OnInit, OnDestroy, AfterViewInit { } } + setConfirmLoading(loading: boolean): void { + this.nzConfirmLoading = loading; + } + + open(): void { + this.nzVisible = true; + } + + close(): void { + this.nzVisible = false; + } + clickOk(e): void { if (this.nzOnOk) { this.nzOnOk.emit(e);