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