UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

60 lines (59 loc) 1.79 kB
/** * Event arguments for the DataCommitted event. */ var IgcGridDataCommittedEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgcGridDataCommittedEventArgs() { } Object.defineProperty(IgcGridDataCommittedEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcGridDataCommittedEventArgs.prototype.onImplementationCreated = function () { }; IgcGridDataCommittedEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcGridDataCommittedEventArgs.prototype, "commitID", { /** * Gets the ID for this commit. */ get: function () { return this.i.b; }, set: function (v) { this.i.b = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcGridDataCommittedEventArgs.prototype, "changes", { /** * Gets a list of the changes that were committed. */ get: function () { return this.i.a; }, set: function (v) { if (v && !Array.isArray(v) && typeof (v) == "string") { var re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.a = v; }, enumerable: false, configurable: true }); return IgcGridDataCommittedEventArgs; }()); export { IgcGridDataCommittedEventArgs };