Skip to content

Simulating behavior of a simple button#19

Description

@xinatanil

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions