ninja-keys
ninja-keys copied to clipboard
Keyboard shortcuts interface for your website. Working with static HTML, Vanilla JS, Vue, React, Svelte.
Ahhh yes, the joy of recursion… 😅 This should add proper resolving (hopefully 🤞) [](https://stackblitz.com/github/oddcelot/ninja-keys/tree/fix/tree-structure?file=dev%2Findex.html) (If you are wondering about the unrelated changes: I applied the default formatting with the...
I'm using this with Vue2, so not sure if it's related to that.... It seems which ever items has `children: []`, any item below that never gets rendered, but is...
I experience detached elements when using ninja keys. To show you what I mean I have made a small repro. Use MS Edge and open devtools and the panel called...
``` declare global { namespace JSX { interface IntrinsicElements { 'ninja-keys': NinjaKeys } } } ``` I try to add definitions, but the IDE prompts me for indeed a lot...
Hi, can I change breadcrumbs depending on the URL? So if browser is on '/exercises' page ninja-keys menu breadcrumbs would be 'Main / Exercises '? Thank you Petr R.
Hi, I'm trying to use ninja-keys in a project with latest ninja-keys 1.2.1, latest Vue 3.2.33 and Vite 2.9.6 (using ``). While running the dev server, I get the warning...
Allow commands to be fuzzy-matched when searching (with something like https://github.com/farzher/fuzzysort, but not necessarily it). Potentially also allow typos. e.g. for command named `Open` allow searching using `Opne` (within a...

It would be nice if we could customize the commands' HTML, or at least be able to natively highlight the matched characters in the text (using **bold** probably) while searching....
Is there currently a way to prevent the menu from opening when the hotkey (`ctrl + k`) is invoked? I have a scenario where the component which mounts the `ninja-key`...