ng-zorro-antd-yj
Version:
An enterprise-class UI components based on Ant Design and Angular
85 lines • 4.84 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* API class that public to users to handle the modal instance.
* NzModalRef is aim to avoid accessing to the modal instance directly by users.
* @abstract
* @template T, R
*/
// tslint:disable-next-line:no-any
var /**
* API class that public to users to handle the modal instance.
* NzModalRef is aim to avoid accessing to the modal instance directly by users.
* @abstract
* @template T, R
*/
// tslint:disable-next-line:no-any
NzModalRef = /** @class */ (function () {
function NzModalRef() {
}
return NzModalRef;
}());
/**
* API class that public to users to handle the modal instance.
* NzModalRef is aim to avoid accessing to the modal instance directly by users.
* @abstract
* @template T, R
*/
// tslint:disable-next-line:no-any
export { NzModalRef };
if (false) {
/** @type {?} */
NzModalRef.prototype.afterOpen;
/** @type {?} */
NzModalRef.prototype.afterClose;
/**
* @abstract
* @return {?}
*/
NzModalRef.prototype.open = function () { };
/**
* @abstract
* @param {?=} result
* @return {?}
*/
NzModalRef.prototype.close = function (result) { };
/**
* @abstract
* @param {?=} result
* @return {?}
*/
NzModalRef.prototype.destroy = function (result) { };
/**
* Trigger the nzOnOk/nzOnCancel by manual
* @abstract
* @return {?}
*/
NzModalRef.prototype.triggerOk = function () { };
/**
* @abstract
* @return {?}
*/
NzModalRef.prototype.triggerCancel = function () { };
/**
* Return the component instance of nzContent when specify nzContent as a Component
* Note: this method may return undefined if the Component has not ready yet. (it only available after Modal's ngOnInit)
* @abstract
* @return {?}
*/
NzModalRef.prototype.getContentComponent = function () { };
/**
* Get the dom element of this Modal
* @abstract
* @return {?}
*/
NzModalRef.prototype.getElement = function () { };
/**
* Get the instance of the Modal itself
* @abstract
* @return {?}
*/
NzModalRef.prototype.getInstance = function () { };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnotbW9kYWwtcmVmLmNsYXNzLmpzIiwic291cm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