UNPKG

igniteui-react-charts

Version:

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

125 lines (123 loc) 3.89 kB
import { ensureBool } from "igniteui-react-core"; /** * Provides data for legend mouse button related events. */ var IgrLegendMouseButtonEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrLegendMouseButtonEventArgs() { this.mounted = false; } Object.defineProperty(IgrLegendMouseButtonEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrLegendMouseButtonEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrLegendMouseButtonEventArgs.prototype.onImplementationCreated = function () { }; IgrLegendMouseButtonEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrLegendMouseButtonEventArgs.prototype, "handled", { /** * Gets or sets a value that indicates the present state of the event handling for a routed * event as it travels the route. * ChartMouseButton events are not routed events; setting this property effects the underlying * MouseButtonEvent. */ get: function () { return this.i.handled; }, set: function (v) { this.i.handled = ensureBool(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrLegendMouseButtonEventArgs.prototype, "originalSource", { /** * Gets a reference to the object that raised the event. */ get: function () { return this.i.originalSource; }, enumerable: false, configurable: true }); Object.defineProperty(IgrLegendMouseButtonEventArgs.prototype, "item", { /** * Gets the ItemsSource item associated with the current event. */ get: function () { return this.i.item; }, set: function (v) { this.i.item = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrLegendMouseButtonEventArgs.prototype, "series", { /** * Gets the series associated with the current event. */ get: function () { return this.i.series; }, set: function (v) { this.i.series = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrLegendMouseButtonEventArgs.prototype, "chart", { /** * Gets the Chart associated with the current event. */ get: function () { return this.i.chart; }, set: function (v) { this.i.chart = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrLegendMouseButtonEventArgs.prototype, "legendItem", { /** * The legend item that was the target of the mouse event. */ get: function () { return this.i.legendItem; }, set: function (v) { this.i.legendItem = v; }, enumerable: false, configurable: true }); /** * Provides a human readable description of the mouse button event. */ IgrLegendMouseButtonEventArgs.prototype.toString = function () { var iv = this.i.toString(); return (iv); }; return IgrLegendMouseButtonEventArgs; }()); export { IgrLegendMouseButtonEventArgs };