igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
48 lines (47 loc) • 1.55 kB
JavaScript
var IgxAsyncCompletedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxAsyncCompletedEventArgs() {
}
Object.defineProperty(IgxAsyncCompletedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxAsyncCompletedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
IgxAsyncCompletedEventArgs.prototype.onImplementationCreated = function () {
};
Object.defineProperty(IgxAsyncCompletedEventArgs.prototype, "errorMessage", {
get: function () {
if (this.i.error != null) {
return this.i.error.message;
}
return null;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxAsyncCompletedEventArgs.prototype, "cancelled", {
get: function () {
return this.i.cancelled;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxAsyncCompletedEventArgs.prototype, "userState", {
get: function () {
return this.i.userState;
},
enumerable: false,
configurable: true
});
return IgxAsyncCompletedEventArgs;
}());
export { IgxAsyncCompletedEventArgs };