MCPcopy Create free account
hub / github.com/TanStack/hotkeys / _escape

Method _escape

examples/lit/hotkey-sequence/src/app.ts:245–248  ·  view source on GitHub ↗
(_event: KeyboardEvent, _ctx: HotkeyCallbackContext)

Source from the content-addressed store, hash-verified

243 private _hello() {
244 this.addToHistory('hello → Hello World!')
245 }
246
247 @hotkey('Escape')
248 private _escape(_event: KeyboardEvent, _ctx: HotkeyCallbackContext) {
249 this.lastSequence = null
250 this.history = []
251 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected