#145 StimulusJS Hotkeys without any external libraries. It just works!

01/09/2023
Free
stimulusjs javascript hotkeys

Bring your app one step closer to pefection:
Assign keyboard hotkeys to let power users quickly navigate around your app!

For simple scenarios, you don't need any any libarary dependencies. 15 lines of StimulusJS can get you very far!

In this episode we will assign keyboard shortcuts to open different links in our application.

This code is not ruby on Rails specific. It's just HTML & StimulusJS!

Episode source code: https://github.com/yshmarov/superails/pull/176/files
Based on this blogpost: https://blog.corsego.com/stimulusjs-hotkeys

0
Sign in to join the conversation