igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
59 lines (58 loc) • 1.75 kB
JavaScript
import { SeriesViewerManipulationEventArgs as SeriesViewerManipulationEventArgs_internal } from "./SeriesViewerManipulationEventArgs";
import { ensureBool, fromRect, toRect } from "igniteui-angular-core";
export class IgxSeriesViewerManipulationEventArgs {
constructor() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
createImplementation() {
return new SeriesViewerManipulationEventArgs_internal();
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
onImplementationCreated() {
}
_provideImplementation(i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
}
get isZoomPan() {
return this.i.isZoomPan;
}
set isZoomPan(v) {
this.i.isZoomPan = ensureBool(v);
}
get isDragZoom() {
return this.i.isDragZoom;
}
set isDragZoom(v) {
this.i.isDragZoom = ensureBool(v);
}
get isDragSelect() {
return this.i.isDragSelect;
}
set isDragSelect(v) {
this.i.isDragSelect = ensureBool(v);
}
get dragSelectRectangle() {
return fromRect(this.i.dragSelectRectangle);
}
set dragSelectRectangle(v) {
this.i.dragSelectRectangle = toRect(v);
}
get isDragSelectCancelled() {
return this.i.isDragSelectCancelled;
}
set isDragSelectCancelled(v) {
this.i.isDragSelectCancelled = ensureBool(v);
}
}