css - Inserting a class name dynamically on a component's wrapping element -
i using cq:htmltag generate custom tag 1 of components.
for "class" property, know provide static class name part of css file, requirement have 'template name' class property value.
does cq provide way use dynamic values?
out of box think not. there few workarounds think of:
- add tag child set class (probably not want)
- use javascript add on load (if not late)
- overlay parsys , implement logic there
Comments
Post a Comment