UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

33 lines (32 loc) 1.28 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { Base, markType } from "igniteui-react-core"; import { IViewportManager_$type } from "./IViewportManager"; /** * @hidden */ export let DataGridViewportManager = /*@__PURE__*/ (() => { class DataGridViewportManager extends Base { constructor(a) { super(); this.a = null; this.a = a; } moveViewportTo(x_, y_) { let grid_ = this.a; if (grid_._scrollTo) { grid_._scrollTo(x_, y_); } else { grid_.scrollTo(x_, y_); } ; } } DataGridViewportManager.$t = /*@__PURE__*/ markType(DataGridViewportManager, 'DataGridViewportManager', Base.$, [IViewportManager_$type]); return DataGridViewportManager; })();