At the moment the only option that can be changed with the Toggle Component block is visibility which is hardcoded. Would it be possible to make this an option block and include more characteristics of the component?
So, for example,
Text, Text Colour, Font Size, Font, Background Colour, Height, Width
As you may guess, I am coming from the Thunkable world where this is used and makes it very easy to change characteristics dynamically.
Thank you, we appreciate your suggestions, but to avoid misunderstandings and better understand your idea, it would be very helpful if you could provide a screenshot of such a component or a link to a page where it is used.
Thanks for the additional information, but I meant that maybe you’ve already seen such a component implemented somewhere. It would be nice if we could see it and be able to “touch” it.
Actually, it’s already possible.
All these properties on the screenshot above are component style-related and in the UI Builder there is a codeless block “Style of … component” which returns a reference to the component styles and you can get/set any using regular “Get Property of” and “Set property to” codeless blocks.
Although we do not have a predefined list of properties, there might be a thousand items, it allows you to set any CSS property