UNPKG

igniteui-webcomponents-charts

Version:

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

70 lines (69 loc) 2.55 kB
import { IgcUserStripAnnotation } from "./igc-user-strip-annotation"; import { UserStripAnnotationStylingEventArgs as UserStripAnnotationStylingEventArgs_internal } from "./UserStripAnnotationStylingEventArgs"; /** * Represents the event arguments for the UserAxisAnnotation styling events. */ var IgcUserStripAnnotationStylingEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgcUserStripAnnotationStylingEventArgs() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgcUserStripAnnotationStylingEventArgs.prototype.createImplementation = function () { return new UserStripAnnotationStylingEventArgs_internal(); }; Object.defineProperty(IgcUserStripAnnotationStylingEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcUserStripAnnotationStylingEventArgs.prototype.onImplementationCreated = function () { }; IgcUserStripAnnotationStylingEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcUserStripAnnotationStylingEventArgs.prototype, "annotation", { /** * The annotation to style. */ get: function () { var r = this.i.annotation; if (r == null) { return null; } if (!r.externalObject) { var e = new IgcUserStripAnnotation(); 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 IgcUserStripAnnotationStylingEventArgs; }()); export { IgcUserStripAnnotationStylingEventArgs };