Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork27
Open
Milestone
Description
Context:@svelte-put/shortcut
Currently it is only possible to add shortcuts events and assign a handler.
However displaying visually a shortcut needs to be done manually.
Things that can be done to help with this:
- Add a formatter, depending on the environment either render
cmd(MacOS) orctrl(Linux and Windows) - A separate utility that allows for accessing all available global shortcuts (when used with
svelte:window) as a store
This will allow for building more accessible shortcuts, example of UI views could be built with this feature:
This usually can be toggled with shortcutcmd / orctrl /:
