UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

100 lines (99 loc) 2.82 kB
import { CellRange as CellRange_internal } from "./CellRange"; /** * An indentifier for a specific cell in the grid. */ var IgcCellRange = /** @class */ /*@__PURE__*/ (function () { function IgcCellRange() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgcCellRange.prototype.createImplementation = function () { return new CellRange_internal(); }; Object.defineProperty(IgcCellRange.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcCellRange.prototype.onImplementationCreated = function () { }; IgcCellRange.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcCellRange.prototype, "startColumn", { /** * Gets or sets the start column of the range. */ get: function () { return this.i.k; }, set: function (v) { this.i.k = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcCellRange.prototype, "endColumn", { /** * Gets or sets the end column of the range. */ get: function () { return this.i.i; }, set: function (v) { this.i.i = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcCellRange.prototype, "startRow", { /** * Gets or sets the start row of the range. */ get: function () { return this.i.l; }, set: function (v) { this.i.l = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcCellRange.prototype, "endRow", { /** * Gets or sets the end row of the range. */ get: function () { return this.i.j; }, set: function (v) { this.i.j = +v; }, enumerable: false, configurable: true }); IgcCellRange.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgcCellRange; }()); export { IgcCellRange };