igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
54 lines (53 loc) • 1.66 kB
JavaScript
import { IgcUserAnnotationInformation } from "./igc-user-annotation-information";
import { UserAnnotationInformationEventArgs as UserAnnotationInformationEventArgs_internal } from "./UserAnnotationInformationEventArgs";
export class IgcUserAnnotationInformationEventArgs {
createImplementation() {
return new UserAnnotationInformationEventArgs_internal();
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
onImplementationCreated() {
}
constructor() {
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 IgcUserAnnotationInformation();
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;
}
}