igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
61 lines (60 loc) • 2.4 kB
JavaScript
import { IgxUserAnnotationInformation } from "./igx-user-annotation-information";
import { UserAnnotationInformationEventArgs as UserAnnotationInformationEventArgs_internal } from "./UserAnnotationInformationEventArgs";
var IgxUserAnnotationInformationEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxUserAnnotationInformationEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxUserAnnotationInformationEventArgs.prototype.createImplementation = function () {
return new UserAnnotationInformationEventArgs_internal();
};
Object.defineProperty(IgxUserAnnotationInformationEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxUserAnnotationInformationEventArgs.prototype.onImplementationCreated = function () {
};
IgxUserAnnotationInformationEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxUserAnnotationInformationEventArgs.prototype, "annotationInfo", {
get: function () {
var r = this.i.annotationInfo;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = new IgxUserAnnotationInformation();
if (r.$type) {
e._implementation = r;
}
else {
if (e.i.setNativeElement) {
e.i.setNativeElement(r);
}
}
r.externalObject = e;
}
return r.externalObject;
},
set: function (v) {
v == null ? this.i.annotationInfo = null : this.i.annotationInfo = v.i;
},
enumerable: false,
configurable: true
});
return IgxUserAnnotationInformationEventArgs;
}());
export { IgxUserAnnotationInformationEventArgs };