Hi,
I know that in jsp, we can use themed clientlibs by using themed attribute:
<cq:includeClientLib js="themeParent" themed="false"/>
But not able to find how to use it in Sightly.
Solved! Go to Solution.
Views
Replies
Total Likes
There is no way. except calling this include statement conditionally.
That's the implementation for reference /libs/granite/sightly/templates/ClientLibUseObject.java
Views
Replies
Total Likes
To include ClientLibs by using HTL - you use this syntax:
<sly data-sly-use.clientLib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientLib.js @ categories='Lab2018.all'}"
THen all the CSS included in that clientlibs is applied.
Views
Replies
Total Likes
I was not asking how to include all clientlibs in HTL, my question is how to use themed clientlibs in HTL as we use in jsp explained above.
Views
Replies
Total Likes
There is no way. except calling this include statement conditionally.
That's the implementation for reference /libs/granite/sightly/templates/ClientLibUseObject.java
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies