UNPKG

@progress/kendo-angular-grid

Version:

Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.

47 lines (46 loc) 1.65 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar'; import { UndoRedoService } from './undo-redo.service'; import * as i0 from "@angular/core"; /** * Represents the command that triggers the redo action in the Grid. * Apply this directive to any `kendo-toolbar-button` inside a ToolbarComponent in the Grid. * * When users click the toolbar button with this directive, the * [`redo`]({% slug api_grid_undoredodirective %}#toc-redo) event is triggered. * * @example * ```html * <kendo-grid> * <kendo-toolbar> * <kendo-toolbar-button kendoGridRedoTool></kendo-toolbar-button> * </kendo-toolbar> * </kendo-grid> * ``` */ export declare class RedoCommandToolbarDirective { private undoRedoService; private host; private subs; /** * @hidden */ constructor(undoRedoService: UndoRedoService, host: ToolBarButtonComponent); /** * @hidden */ ngOnInit(): void; /** * @hidden */ ngOnDestroy(): void; /** * @hidden */ onClick(e: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<RedoCommandToolbarDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<RedoCommandToolbarDirective, "[kendoGridRedoTool]", never, {}, {}, never, never, true, never>; }