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

Simulating behavior of a simple button #19

Open
xinatanil opened this issue Jul 25, 2018 · 0 comments
Open

Simulating behavior of a simple button #19

xinatanil opened this issue Jul 25, 2018 · 0 comments

Comments

@xinatanil
Copy link

In some cases, we need BoomMenuButton to behave as a simple button, i.e. don't display any animations.
After looking around in the code, I wasn't able to find a way to do that 😫.

I suggest that we adjust these two BoomDelegate methods from:

func boomMenuButtonWillBoom(boomMenuButton bmb: BoomMenuButton)
func boomMenuButtonWillReboom(boomMenuButton bmb: BoomMenuButton)

to

/// If delegate method returns `false` then boom won't even start
func boomMenuButtonWillBoom(boomMenuButton bmb: BoomMenuButton) -> Bool
/// If delegate method returns `false` then reboom won't start
func boomMenuButtonWillReboom(boomMenuButton bmb: BoomMenuButton) -> Bool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant