igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
74 lines (73 loc) • 2.95 kB
JavaScript
import { IgxUserAnnotationInformation } from "./igx-user-annotation-information";
import { UserAnnotationToolTipContentUpdatingEventArgs as UserAnnotationToolTipContentUpdatingEventArgs_internal } from "./UserAnnotationToolTipContentUpdatingEventArgs";
/**
* Information about the user annotation content which is being created or updated.
*/
var IgxUserAnnotationToolTipContentUpdatingEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxUserAnnotationToolTipContentUpdatingEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxUserAnnotationToolTipContentUpdatingEventArgs.prototype.createImplementation = function () {
return new UserAnnotationToolTipContentUpdatingEventArgs_internal();
};
Object.defineProperty(IgxUserAnnotationToolTipContentUpdatingEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxUserAnnotationToolTipContentUpdatingEventArgs.prototype.onImplementationCreated = function () {
};
IgxUserAnnotationToolTipContentUpdatingEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxUserAnnotationToolTipContentUpdatingEventArgs.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
});
Object.defineProperty(IgxUserAnnotationToolTipContentUpdatingEventArgs.prototype, "content", {
get: function () {
return this.i.content;
},
set: function (v) {
this.i.content = v;
},
enumerable: false,
configurable: true
});
return IgxUserAnnotationToolTipContentUpdatingEventArgs;
}());
export { IgxUserAnnotationToolTipContentUpdatingEventArgs };