I have created a button class module. Is it possible to draw a frame in design mode and assign this to behave as an instance from the button class in code?
You can create a „wrap“ function which takes the layers from design mode as parameters and uses those in your class! Just as for example this module does: https://github.com/benjamindenboer/FramerInput
It's weird that Lukas Guschlbauer himself didn't offer his great Framer modul, Symbols. :)
However, Davo Galavotti was quicker than me to share it :)
Thank you so much for your input. I will dig to it later and probably come back with some questions, if I hit a wall. :)It is correct that I (started with) a custom button class, but maybe I abandon it and take over Lukas Guschlbauer s approach. Looks awesome (based on 10 seconds browsing over the github page)! ;)