igniteui-react-core
Version:
Ignite UI React Core.
68 lines (67 loc) • 2.28 kB
JavaScript
/**
* Provides information about row expansion or collapse.
*/
var IgrDataSourceRowExpansionChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrDataSourceRowExpansionChangedEventArgs() {
this.mounted = false;
}
Object.defineProperty(IgrDataSourceRowExpansionChangedEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataSourceRowExpansionChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrDataSourceRowExpansionChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgrDataSourceRowExpansionChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrDataSourceRowExpansionChangedEventArgs.prototype, "rowIndex", {
/**
* The index of the row being expanded or collapsed.
*/
get: function () {
return this.i.rowIndex;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataSourceRowExpansionChangedEventArgs.prototype, "oldState", {
/**
* The previous state of the row. True is expanded, False is collapsed.
*/
get: function () {
return this.i.oldState;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataSourceRowExpansionChangedEventArgs.prototype, "newState", {
/**
* The new state of the row. True is expanded, False is collapsed.
*/
get: function () {
return this.i.newState;
},
enumerable: false,
configurable: true
});
return IgrDataSourceRowExpansionChangedEventArgs;
}());
export { IgrDataSourceRowExpansionChangedEventArgs };