@progress/kendo-angular-treelist
Version:
Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.
29 lines (28 loc) • 835 B
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* @hidden
*/
export class TreeListFocusableElement {
navigationService;
constructor(navigationService) {
this.navigationService = navigationService;
}
focus() {
this.navigationService.focusCell();
}
toggle(active) {
this.navigationService.toggle(active);
}
canFocus() {
return true;
}
hasFocus() {
return this.navigationService.hasFocus();
}
isNavigable() {
return false;
}
}