Dynamic Id or Class names?
Here is another feature request :)
It would be great if we could dynamically set the id or the class name? In my scenario I am dynamically setting an Id for a component and storing the CSS values into a database. The page that presents the component could present multiple instances of the component. Each component has a different Id with different CSS values but the same CSS structure.
Example:
That should work. But I will check to make sure later today
Another option though would be:
<Styled Classname=“@myvar”>
Css goes here without {}
</Styled>
I think should do what you want
@VR-Architect Did my suggestion of using Classname in the styled tag work for you? If not, if the issue is a compiler error like in #87 then will adding <text></text> work? If the answer to both of those are "no", then I need a code example of what you want to do.