igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
67 lines (66 loc) • 2.03 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.
*/
export class IgrUserAnnotationToolTipContentUpdatingEventArgs {
createImplementation() {
return new UserAnnotationToolTipContentUpdatingEventArgs_internal();
}
get nativeElement() {
return this._implementation.nativeElement;
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
onImplementationCreated() {
}
constructor() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
_provideImplementation(i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
get annotationInfo() {
const r = this.i.annotationInfo;
if (r == null) {
return null;
}
if (!r.externalObject) {
let 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 annotationInfo(v) {
v == null ? this.i.annotationInfo = null : this.i.annotationInfo = v.i;
}
get content() {
return this.i.content;
}
set content(v) {
this.i.content = v;
}
}