mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
[CL-220] item components (#8870)
This commit is contained in:
8
libs/components/src/shared/focusable-element.ts
Normal file
8
libs/components/src/shared/focusable-element.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Interface for implementing focusable components.
|
||||
*
|
||||
* Used by the `AutofocusDirective` and `A11yGridDirective`.
|
||||
*/
|
||||
export abstract class FocusableElement {
|
||||
getFocusTarget: () => HTMLElement;
|
||||
}
|
||||
Reference in New Issue
Block a user