ntvr / SelectionMenu

Overlay menu supporting both buttons and option selection
MIT License
7 stars 0 forks source link

Add posibility to disable animations for MenuButton #1

Closed stemberamichal closed 6 years ago

stemberamichal commented 6 years ago

Now there is no option to call expand() or collapse() without animating. Depends on the inner implemenation of MenuButton

Pass animated: Bool as a parameter to make it possible to disable animations.

stemberamichal commented 6 years ago

Maybe a animationDuration as a parameter would be nice so the component can time its animation with SelectionMenu