igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
77 lines (76 loc) • 2.97 kB
JavaScript
import { IgcUserAnnotationInformation } from "./igc-user-annotation-information";
import { UserAnnotationToolTipContentUpdatingEventArgs as UserAnnotationToolTipContentUpdatingEventArgs_internal } from "./UserAnnotationToolTipContentUpdatingEventArgs";
/**
* Information about the user annotation content which is being created or updated.
*/
var IgcUserAnnotationToolTipContentUpdatingEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcUserAnnotationToolTipContentUpdatingEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgcUserAnnotationToolTipContentUpdatingEventArgs.prototype.createImplementation = function () {
return new UserAnnotationToolTipContentUpdatingEventArgs_internal();
};
Object.defineProperty(IgcUserAnnotationToolTipContentUpdatingEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcUserAnnotationToolTipContentUpdatingEventArgs.prototype.onImplementationCreated = function () {
};
IgcUserAnnotationToolTipContentUpdatingEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcUserAnnotationToolTipContentUpdatingEventArgs.prototype, "annotationInfo", {
get: function () {
var r = this.i.annotationInfo;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = new IgcUserAnnotationInformation();
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(IgcUserAnnotationToolTipContentUpdatingEventArgs.prototype, "content", {
get: function () {
return this.i.content;
},
set: function (v) {
this.i.content = v;
},
enumerable: false,
configurable: true
});
return IgcUserAnnotationToolTipContentUpdatingEventArgs;
}());
export { IgcUserAnnotationToolTipContentUpdatingEventArgs };