Expand my Community achievements bar.

SOLVED

loading JS

Avatar

Level 6

Hi Team,

How i can load the JS for only Dialog and not for entire page.

Regards

Manikantha R

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Yes, you can by using extraClientLibs property.

To add this extra clientlibs specific to your component dialog, add extraClientlibs property to the cq:dialog of your component.

extraClientlibs(String)= clientlibs categories

Keep Calm and Code It.: extraClientlibs in AEM



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

Yes, you can by using extraClientLibs property.

To add this extra clientlibs specific to your component dialog, add extraClientlibs property to the cq:dialog of your component.

extraClientlibs(String)= clientlibs categories

Keep Calm and Code It.: extraClientlibs in AEM



Arun Patidar