igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
81 lines (80 loc) • 2.33 kB
JavaScript
import { ImageLoadStatus_$type } from "./ImageLoadStatus";
import { ensureEnum } from "./componentUtil";
/**
* Represents event arguments for updating label of callout layer
*/
var IgxImageLoadEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxImageLoadEventArgs() {
}
Object.defineProperty(IgxImageLoadEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxImageLoadEventArgs.prototype.onImplementationCreated = function () {
};
IgxImageLoadEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxImageLoadEventArgs.prototype, "status", {
/**
* Gets status of loading data
*/
get: function () {
return this.i.a;
},
set: function (v) {
this.i.a = ensureEnum(ImageLoadStatus_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxImageLoadEventArgs.prototype, "path", {
/**
* Gets URL path of loaded data
*/
get: function () {
return this.i.d;
},
set: function (v) {
this.i.d = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxImageLoadEventArgs.prototype, "error", {
/**
* Gets error message on failed loading data
*/
get: function () {
return this.i.c;
},
set: function (v) {
this.i.c = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxImageLoadEventArgs.prototype, "data", {
/**
* Gets loaded data
*/
get: function () {
return this.i.b;
},
set: function (v) {
this.i.b = v;
},
enumerable: false,
configurable: true
});
return IgxImageLoadEventArgs;
}());
export { IgxImageLoadEventArgs };