igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
54 lines (53 loc) • 1.64 kB
JavaScript
import { ensureBool } from "igniteui-webcomponents-core";
/**
* Contains PieChart label click event data.
*/
var IgcLabelClickEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcLabelClickEventArgs() {
}
Object.defineProperty(IgcLabelClickEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcLabelClickEventArgs.prototype.onImplementationCreated = function () {
};
IgcLabelClickEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcLabelClickEventArgs.prototype, "item", {
/**
* Gets the slice data context.
*/
get: function () {
return this.i.item;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcLabelClickEventArgs.prototype, "allowSliceClick", {
/**
* Gets and sets whether or not the owning pie chart should fire its SliceClick event
*/
get: function () {
return this.i.allowSliceClick;
},
set: function (v) {
this.i.allowSliceClick = ensureBool(v);
},
enumerable: false,
configurable: true
});
return IgcLabelClickEventArgs;
}());
export { IgcLabelClickEventArgs };