ntvr / SelectionMenu

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

Pass animation duration to Expandable protocol for expand, collapse functions #8

Closed stemberamichal closed 6 years ago

stemberamichal commented 6 years ago

There should be possibility to pass animationDuration through Expandable protocol:

This can be achieved by:

Either way this has to also get passed by SelectionMenu to SelectionCollections and down the chain to SelectionElements. Also MenuButton needs this information included to time its inner animations.

stemberamichal commented 6 years ago

Accidentaly closed this issue instead of #1