@progress/kendo-angular-menu
Version:
Kendo UI Angular Menu component
48 lines (47 loc) • 1.76 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { NgZone } from '@angular/core';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import { ItemsService } from './items.service';
import { ActionsService } from './actions.service';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class NavigationService {
private items;
private actions;
private localization;
private ngZone;
vertical: boolean;
activeIndex: string;
focusedIdx: string;
get focusedItem(): any;
private get activeItem();
private get handlers();
constructor(items: ItemsService, actions: ActionsService, localization: LocalizationService, ngZone: NgZone);
focus(item: any): void;
setFocus(item: any): void;
focusLeave(): void;
updateActive(): void;
keydown(e: KeyboardEvent): void;
focusIndex(index?: string): void;
focusFirst(): void;
focusLast(): void;
search(current: any, key: string): void;
down(current: any): void;
up(current: any): void;
left(current: any): void;
right(current: any): void;
home(current: any): void;
end(current: any): void;
enter(current: any, domEvent: any): void;
esc(current: any): void;
tab(current: any): void;
private focusChild;
private setActive;
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
}