igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
108 lines (106 loc) • 3.13 kB
JavaScript
/**
* Provides data for legend mouse button related events.
*/
var IgrLegendMouseEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrLegendMouseEventArgs() {
this.mounted = false;
}
Object.defineProperty(IgrLegendMouseEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrLegendMouseEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrLegendMouseEventArgs.prototype.onImplementationCreated = function () {
};
IgrLegendMouseEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrLegendMouseEventArgs.prototype, "originalSource", {
/**
* Gets a reference to the object that raised the event.
*/
get: function () {
return this.i.originalSource;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrLegendMouseEventArgs.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(IgrLegendMouseEventArgs.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(IgrLegendMouseEventArgs.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(IgrLegendMouseEventArgs.prototype, "legendItem", {
/**
* The legend item in context.
*/
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.
*/
IgrLegendMouseEventArgs.prototype.toString = function () {
var iv = this.i.toString();
return (iv);
};
return IgrLegendMouseEventArgs;
}());
export { IgrLegendMouseEventArgs };