Skip to content

Commit

Permalink
add _isItemFocusable to d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Jan 20, 2025
1 parent 2ea9588 commit d970ca9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/a11y-base/src/keyboard-direction-mixin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,10 @@ export declare class KeyboardDirectionMixinClass {
* Focus the given item. Override this method to add custom logic.
*/
protected _focusItem(item: Element, navigating: boolean): void;

/**
* Returns whether the item is focusable. By default,
* returns true if the item is not disabled.
*/
protected _isItemFocusable(item: Element): boolean;
}

0 comments on commit d970ca9

Please sign in to comment.