UNPKG

igniteui-webcomponents-charts

Version:

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

87 lines (85 loc) 2.03 kB
import { ensureBool } from "igniteui-webcomponents-core"; /** * Provides data for legend mouse button related events. */ export class IgcLegendMouseButtonEventArgs { /** * @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 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 handled() { return this.i.handled; } set handled(v) { this.i.handled = ensureBool(v); } /** * Gets a reference to the object that raised the event. */ get originalSource() { return this.i.originalSource; } /** * Gets the ItemsSource item associated with the current event. */ get item() { return this.i.item; } set item(v) { this.i.item = v; } /** * Gets the series associated with the current event. */ get series() { return this.i.series; } set series(v) { this.i.series = v; } /** * Gets the Chart associated with the current event. */ get chart() { return this.i.chart; } set chart(v) { this.i.chart = v; } /** * The legend item that was the target of the mouse event. */ get legendItem() { return this.i.legendItem; } set legendItem(v) { this.i.legendItem = v; } /** * Provides a human readable description of the mouse button event. */ toString() { let iv = this.i.toString(); return (iv); } }