UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

78 lines (77 loc) 2.83 kB
import { IgrUserSliceAnnotation } from "./igr-user-slice-annotation"; import { UserSliceAnnotationStylingEventArgs as UserSliceAnnotationStylingEventArgs_internal } from "./UserSliceAnnotationStylingEventArgs"; /** * Represents the event arguments for the UserAxisAnnotation styling events. */ var IgrUserSliceAnnotationStylingEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrUserSliceAnnotationStylingEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrUserSliceAnnotationStylingEventArgs.prototype.createImplementation = function () { return new UserSliceAnnotationStylingEventArgs_internal(); }; Object.defineProperty(IgrUserSliceAnnotationStylingEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrUserSliceAnnotationStylingEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrUserSliceAnnotationStylingEventArgs.prototype.onImplementationCreated = function () { }; IgrUserSliceAnnotationStylingEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrUserSliceAnnotationStylingEventArgs.prototype, "annotation", { /** * The annotation to style. */ get: function () { var r = this.i.annotation; if (r == null) { return null; } if (!r.externalObject) { var e = new IgrUserSliceAnnotation(); 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.annotation = null : this.i.annotation = v.i; }, enumerable: false, configurable: true }); return IgrUserSliceAnnotationStylingEventArgs; }()); export { IgrUserSliceAnnotationStylingEventArgs };