igniteui-react-grids
Version:
Ignite UI React grid components.
75 lines (74 loc) • 2.42 kB
JavaScript
import { SummaryChangedEventArgs as SummaryChangedEventArgs_internal } from "./SummaryChangedEventArgs";
import { ensureBool } from "igniteui-react-core";
/**
* Event args for the SummaryChanged event.
*/
var IgrSummaryChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrSummaryChangedEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrSummaryChangedEventArgs.prototype.createImplementation = function () {
return new SummaryChangedEventArgs_internal();
};
Object.defineProperty(IgrSummaryChangedEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrSummaryChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgrSummaryChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrSummaryChangedEventArgs.prototype, "iD", {
/**
* Gets the unique ID for the changed summary.
*/
get: function () {
return this.i.b;
},
set: function (v) {
this.i.b = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryChangedEventArgs.prototype, "isEnabled", {
/**
* Gets the current state of the changed summary.
*/
get: function () {
return this.i.a;
},
set: function (v) {
this.i.a = ensureBool(v);
},
enumerable: false,
configurable: true
});
return IgrSummaryChangedEventArgs;
}());
export { IgrSummaryChangedEventArgs };