UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

67 lines (66 loc) 2.53 kB
import { IgxUserPointAnnotation } from "./igx-user-point-annotation"; import { UserPointAnnotationStylingEventArgs as UserPointAnnotationStylingEventArgs_internal } from "./UserPointAnnotationStylingEventArgs"; /** * Represents the event arguments for the UserAxisAnnotation styling events. */ var IgxUserPointAnnotationStylingEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgxUserPointAnnotationStylingEventArgs() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgxUserPointAnnotationStylingEventArgs.prototype.createImplementation = function () { return new UserPointAnnotationStylingEventArgs_internal(); }; Object.defineProperty(IgxUserPointAnnotationStylingEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgxUserPointAnnotationStylingEventArgs.prototype.onImplementationCreated = function () { }; IgxUserPointAnnotationStylingEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); }; Object.defineProperty(IgxUserPointAnnotationStylingEventArgs.prototype, "annotation", { /** * The annotation to style. */ get: function () { var r = this.i.annotation; if (r == null) { return null; } if (!r.externalObject) { var e = new IgxUserPointAnnotation(); 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 IgxUserPointAnnotationStylingEventArgs; }()); export { IgxUserPointAnnotationStylingEventArgs };