import { ensureBool } from "igniteui-react-core/ES2015/componentUtil";
/**
 * Contains PieChart label click event data.
*/
export class LabelClickEventArgs {
    get i() {
        return this._implementation;
    }
    onImplementationCreated() {
    }
    constructor() {
    }
    _provideImplementation(i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    /**
     * 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);
    }
}
