Can we be allowed to add multiple “roles” to a component?
I find myself writing lots of css variations when all I really want to do is to compound some features sometimes.
An aside, but I think “role” is the wrong thing to call that property, at least for what it is currently used for. I think it should be called “custom classes” or something like that.
I already +1’d the idea, but want to express official support. I never quite understood why we could only have one role, when the roles are basically CSS classes. It’d be great to be able to tick off all the ones that should apply to a particular component.
Yes, please - that would be great . Of course, we can now achieve a similar result with addClass on “JQuery-references” of Anvil components - but this only shows at run-time (and requires a bit more code than the elegant Roles).