-
-
Notifications
You must be signed in to change notification settings - Fork 226
Implement multiple actions (double tap, triple tap) #349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Renamed old action and longAction to legacy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
LGTM too. Just small request, please, could you add inforation and to Readme as well? How to use it for people :) |
Of course! |
@Toxblh and @ReDetection could you please review latest changes? I updated README and slightly changed the code to support multiple actions for the same trigger |
* Implement double tap and new actions array in config * Update native widgets to use new actions parameter * Refactor new actions parameter moving it to main definition Renamed old action and longAction to legacy * Fix tests * Remove unused code * Readd test for legacyAction * Implement triple tap * Add new actions explanation * Add support for multiple actions and same trigger
This PR implements:
actions
parameter in config. Example:action
andlongAction
works normally, i retained the legacy code to not break compatibility.