Skip to content

Commit 68c8dd6

Browse files
committed
fixup! refactor: event managers
1 parent fa42f86 commit 68c8dd6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/cdk-experimental/ui-patterns/behaviors/event-manager/keyboard-event-manager.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ import {
1616
ModifierKey,
1717
} from './event-manager';
1818

19+
/**
20+
* Used to represent a keycode.
21+
*
22+
* This is used to match whether an events keycode should be handled. The ability to match using a
23+
* string, Signal, or Regexp gives us more flexibility when authoring event handlers.
24+
*/
1925
type KeyCode = string | Signal<string> | RegExp;
2026

2127
/**

0 commit comments

Comments
 (0)