UNPKG

igniteui-webcomponents-charts

Version:

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

62 lines (61 loc) 2.05 kB
import { RenderRequestedEventArgs as RenderRequestedEventArgs_internal } from "./RenderRequestedEventArgs"; import { ensureBool } from "igniteui-webcomponents-core"; /** * EventArgs class for RenderRequested events. * * Use the `RenderRequested` class for RenderRequested events. */ var IgcRenderRequestedEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgcRenderRequestedEventArgs() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgcRenderRequestedEventArgs.prototype.createImplementation = function () { return new RenderRequestedEventArgs_internal(); }; Object.defineProperty(IgcRenderRequestedEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcRenderRequestedEventArgs.prototype.onImplementationCreated = function () { }; IgcRenderRequestedEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcRenderRequestedEventArgs.prototype, "animate", { /** * True if animation is requested. * * Use the `Animate` property true if the animation is requested. * * ```ts * e.animation = true; * ``` */ get: function () { return this.i.animate; }, set: function (v) { this.i.animate = ensureBool(v); }, enumerable: false, configurable: true }); return IgcRenderRequestedEventArgs; }()); export { IgcRenderRequestedEventArgs };