UNPKG

igniteui-webcomponents-charts

Version:

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

40 lines (39 loc) 919 B
import { ensureBool } from "igniteui-webcomponents-core"; /** * Contains PieChart label click event data. */ export class IgcLabelClickEventArgs { /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } constructor() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } /** * Gets the slice data context. */ get item() { return this.i.item; } /** * Gets and sets whether or not the owning pie chart should fire its SliceClick event */ get allowSliceClick() { return this.i.allowSliceClick; } set allowSliceClick(v) { this.i.allowSliceClick = ensureBool(v); } }