In CQ cq: IncludeClientLib, what is the difference between theme attributes and categories?

According to docs :

categories

A list of sections separated by commas. This will include all Javascript and CSS libraries for these categories. The topic name is retrieved from the request. Equivalent to:com.day.cq.widget.HtmlLibraryManager#writeIncludes

subject

A list of sections separated by commas. This will include all thematic libraries (both CSS and JS) for these categories. The topic name is retrieved from the request. Equivalent to:com.day.cq.widget.HtmlLibraryManager#writeThemeInclude

I am new to CQ and it looks a bit vague to me. What is the difference between these attributes?

+3
source share
1 answer

, JCR :  -/etc/clientlibs/grid  -/etc/clientlibs/forms  -/etc/clientlibs/tables  -/etc/clientlibs/tables/  -/etc/clientlibs/tables/inverse

. <cq:includeClientLib categories="grid, forms, tables" />

. , , . , <cq:includeClientLib categories="tables" themes="inverse, responsive" />

, . tables "" ( ), . tables , inverse. responsive.

, CQ5.5 , CQ5.6 OOB.

+3

All Articles