Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/hotkeys
/ createId
Function
createId
examples/angular/injectHotkeyRecorder/src/app/app.component.ts:19–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
18
let
nextId = 0
19
function
createId(): string {
20
return
`shortcut_${++nextId}`
21
}
22
23
const
INITIAL_SHORTCUTS: Array<Shortcut> = [
24
{
Callers
2
app.component.ts
File · 0.70
handleCreateNew
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…