igniteui-react-core
Version:
Ignite UI React Core.
59 lines (58 loc) • 1.86 kB
JavaScript
var IgrAsyncCompletedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrAsyncCompletedEventArgs() {
this.mounted = false;
}
Object.defineProperty(IgrAsyncCompletedEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAsyncCompletedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrAsyncCompletedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
IgrAsyncCompletedEventArgs.prototype.onImplementationCreated = function () {
};
Object.defineProperty(IgrAsyncCompletedEventArgs.prototype, "errorMessage", {
get: function () {
if (this.i.error != null) {
return this.i.error.message;
}
return null;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAsyncCompletedEventArgs.prototype, "cancelled", {
get: function () {
return this.i.cancelled;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAsyncCompletedEventArgs.prototype, "userState", {
get: function () {
return this.i.userState;
},
enumerable: false,
configurable: true
});
return IgrAsyncCompletedEventArgs;
}());
export { IgrAsyncCompletedEventArgs };