igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
52 lines (51 loc) • 1.38 kB
JavaScript
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.
*/
export class IgcRenderRequestedEventArgs {
createImplementation() {
return new RenderRequestedEventArgs_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();
}
}
/**
* True if animation is requested.
*
* Use the `Animate` property true if the animation is requested.
*
* ```ts
* e.animation = true;
* ```
*/
get animate() {
return this.i.animate;
}
set animate(v) {
this.i.animate = ensureBool(v);
}
}