Skip to content
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

Add "maximumActionButton" to not show tip to users that clicked on button #3

Open
rugk opened this issue Feb 27, 2019 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@rugk
Copy link
Member

rugk commented Feb 27, 2019

So you can limit the tip not to be shown when the user already clicked on a "show more" button or similar. Like maximumDismiss it can be null by default, but a common use case is likely to set it to 1.

How to do?

  • Problem: We need to track the clicks on the button, but also want to keep "link-only" buttons. (especially as they show the link aim in a good way.)
  • Solution: IMHO, the MessageHandler needs another function in the actionButton object, that additionally binds to the button, so it does not intercept/overwrite the click, but can actually count it. That may then be set by RandomTips manually…
@rugk rugk added the enhancement New feature or request label Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant