igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
72 lines (71 loc) • 2.71 kB
JavaScript
import { IgrUserAnnotationInformation } from "./igr-user-annotation-information";
import { UserAnnotationInformationEventArgs as UserAnnotationInformationEventArgs_internal } from "./UserAnnotationInformationEventArgs";
var IgrUserAnnotationInformationEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrUserAnnotationInformationEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrUserAnnotationInformationEventArgs.prototype.createImplementation = function () {
return new UserAnnotationInformationEventArgs_internal();
};
Object.defineProperty(IgrUserAnnotationInformationEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrUserAnnotationInformationEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrUserAnnotationInformationEventArgs.prototype.onImplementationCreated = function () {
};
IgrUserAnnotationInformationEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrUserAnnotationInformationEventArgs.prototype, "annotationInfo", {
get: function () {
var r = this.i.annotationInfo;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = new IgrUserAnnotationInformation();
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 IgrUserAnnotationInformationEventArgs;
}());
export { IgrUserAnnotationInformationEventArgs };