UNPKG

igniteui-webcomponents-charts

Version:

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

117 lines (115 loc) 3.63 kB
import { ensureBool } from "igniteui-webcomponents-core"; /** * Provides data for legend mouse button related events. */ var IgcLegendMouseButtonEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgcLegendMouseButtonEventArgs() { } Object.defineProperty(IgcLegendMouseButtonEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcLegendMouseButtonEventArgs.prototype.onImplementationCreated = function () { }; IgcLegendMouseButtonEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcLegendMouseButtonEventArgs.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(IgcLegendMouseButtonEventArgs.prototype, "originalSource", { /** * Gets a reference to the object that raised the event. */ get: function () { return this.i.originalSource; }, enumerable: false, configurable: true }); Object.defineProperty(IgcLegendMouseButtonEventArgs.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(IgcLegendMouseButtonEventArgs.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(IgcLegendMouseButtonEventArgs.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(IgcLegendMouseButtonEventArgs.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. */ IgcLegendMouseButtonEventArgs.prototype.toString = function () { var iv = this.i.toString(); return (iv); }; return IgcLegendMouseButtonEventArgs; }()); export { IgcLegendMouseButtonEventArgs };