8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412f4ce commit 31da2acCopy full SHA for 31da2ac
src/index.js
@@ -39,6 +39,8 @@ document.addEventListener('keydown', (event: KeyboardEvent) => {
39
}
40
})
41
42
+export {RadixTrie, Leaf}
43
+
44
export function install(element: HTMLElement) {
45
const hotkeys = expandHotkeyToEdges(element.getAttribute('data-hotkey') || '')
46
const leaves = hotkeys.map(hotkey => hotkeyRadixTrie.insert(hotkey).add(element))
0 commit comments