igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
85 lines (84 loc) • 3.26 kB
JavaScript
import { IgrUserAnnotationInformation } from "./igr-user-annotation-information";
import { UserAnnotationToolTipContentUpdatingEventArgs as UserAnnotationToolTipContentUpdatingEventArgs_internal } from "./UserAnnotationToolTipContentUpdatingEventArgs";
/**
* Information about the user annotation content which is being created or updated.
*/
var IgrUserAnnotationToolTipContentUpdatingEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrUserAnnotationToolTipContentUpdatingEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrUserAnnotationToolTipContentUpdatingEventArgs.prototype.createImplementation = function () {
return new UserAnnotationToolTipContentUpdatingEventArgs_internal();
};
Object.defineProperty(IgrUserAnnotationToolTipContentUpdatingEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrUserAnnotationToolTipContentUpdatingEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrUserAnnotationToolTipContentUpdatingEventArgs.prototype.onImplementationCreated = function () {
};
IgrUserAnnotationToolTipContentUpdatingEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrUserAnnotationToolTipContentUpdatingEventArgs.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
});
Object.defineProperty(IgrUserAnnotationToolTipContentUpdatingEventArgs.prototype, "content", {
get: function () {
return this.i.content;
},
set: function (v) {
this.i.content = v;
},
enumerable: false,
configurable: true
});
return IgrUserAnnotationToolTipContentUpdatingEventArgs;
}());
export { IgrUserAnnotationToolTipContentUpdatingEventArgs };