OnKeyDownMap merges multiple key bindings into a single data-on:keydown__window attribute via a JS ternary chain, avoiding HTML attribute deduplication. WithWindow scopes any keydown listener to the window object.
3.8 KiB
3.8 KiB