igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
57 lines (56 loc) • 1.96 kB
JavaScript
/**
* Provides information about row expansion or collapse.
*/
var IgxDataSourceRowExpansionChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxDataSourceRowExpansionChangedEventArgs() {
}
Object.defineProperty(IgxDataSourceRowExpansionChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxDataSourceRowExpansionChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgxDataSourceRowExpansionChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxDataSourceRowExpansionChangedEventArgs.prototype, "rowIndex", {
/**
* The index of the row being expanded or collapsed.
*/
get: function () {
return this.i.rowIndex;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataSourceRowExpansionChangedEventArgs.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(IgxDataSourceRowExpansionChangedEventArgs.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 IgxDataSourceRowExpansionChangedEventArgs;
}());
export { IgxDataSourceRowExpansionChangedEventArgs };