UNPKG

@catull/igniteui-angular

Version:

Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps

34 lines (33 loc) 1.13 kB
import { ElementRef } from '@angular/core'; import { GridBaseAPIService } from './api.service'; import { GridType } from './common/grid.interface'; /** @hidden */ export declare class IgxRowEditTemplateDirective { } /** @hidden */ export declare class IgxRowEditTextDirective { } /** @hidden */ export declare class IgxRowEditActionsDirective { } /** @hidden */ export declare class IgxRowEditTabStopDirective { api: GridBaseAPIService<any>; element: ElementRef; private currentCellIndex; constructor(api: GridBaseAPIService<any>, element: ElementRef); readonly grid: GridType; handleTab(event: KeyboardEvent): void; handleEscape(event: KeyboardEvent): void; /** * Moves focus to first/last editable cell in the editable row and put the cell in edit mode. * If cell is out of view first scrolls to the cell * @param event keyboard event containing information about whether SHIFT key was pressed */ private move; /** * Sets the cell in edit mode and focus its native element * @param cellIndex index of the cell to activate */ private activateCell; }