igniteui-react-grids
Version:
Ignite UI React grid components.
60 lines (59 loc) • 1.54 kB
JavaScript
import { GridKeydownTargetType_$type } from "./GridKeydownTargetType";
import { IgrBaseEventArgsDetail } from "./igr-base-event-args-detail";
import { ActiveNodeChangeEventArgsDetail as ActiveNodeChangeEventArgsDetail_internal } from "./ActiveNodeChangeEventArgsDetail";
import { ensureEnum } from "igniteui-react-core";
/**
* Emitted when the active node is changed
*/
export class IgrActiveNodeChangeEventArgsDetail extends IgrBaseEventArgsDetail {
createImplementation() {
return new ActiveNodeChangeEventArgsDetail_internal();
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor() {
super();
}
/**
* Represents the row index of the active node
*/
get row() {
return this.i.j;
}
set row(v) {
this.i.j = +v;
}
/**
* Represents the column index of the active node
*/
get column() {
return this.i.h;
}
set column(v) {
this.i.h = +v;
}
/**
* Optional
* Represents the hierarchical level of the active node
*/
get level() {
return this.i.i;
}
set level(v) {
this.i.i = +v;
}
/**
* Represents the type of the active node.
* The GridKeydownTargetType is an enum or that specifies the possible target types
*/
get tag() {
return this.i.g;
}
set tag(v) {
this.i.g = ensureEnum(GridKeydownTargetType_$type, v);
}
}