-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I'm currently using mousetrap (https://github.com/ccampbell/mousetrap/). But it can't handle both "f" and "f a" at the same time. If I've defined "f a" as a shortcut, I can't use "f" as a shortcut anymore. However, as I understand, it's theoretically possible to differentiate them. When the user pressed "f", just wait a small period of time to see if there are any additional keypress. If no more keypresses, then trigger "f", otherwise, trigger something like "f a". I want to know are there any available libraries that can handle this? Thanks.