Closed justinwhite2 closed 6 years ago
Hi Justin, Thank you for choosing fan-menu. I will check the easiest way how to achieve it and will back to you.
Hi @justinwhite2,
Thanks again for using fan-menu!
I checked the code and I realized that there is no "selected" state for the button in the current implementation. If you select some button from the menu, the menu is closing.
But you can quickly extend fan-menu. Fan-menu based on the Macaw library. If you didn't hear about that here is a good place to start.
Technical details about fan-menu that can be helpful for you:
Feel free to contact me if you will have any questions about Fan-menu or Macaw. If your changes would be helpful for other users, we can include your changes in the main project. Good luck!
I hope this solution helped you. Closing this issue for now. Please let me know if any questions remain.
Great control, thank you for it!
How would one go about allowing for a button image to be updated? Imagine a state: on/off - off having a different image or a just an image with some opacity. Or even a button with a series of states.
If you can point me in the right direction, I will happily code it up and submit a pull request.
Thank you again and cheers!