I am trying to work with experience fragments and want to achieve two of the following.
Create and use a component as XF
I have a carousel component and i want the individual carousel slides to be an experience fragment?
I cannot find any good resources which help me in achieving this . They all point to page experience fragments.Do guide on how to move forward for the above
해결되었습니다! 솔루션으로 이동.
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
조회 수
답글
좋아요 수
See if this can help you which I got from google.
cq.domReady(function() {
CQ.Ext.ns('AEM.Component.xfpage');
AEM.Component.xfpage.YourCustomXFComponent = CQ.Ext.extend(AEM.Component.xfpage, {
// Your custom component logic here
});
});
<div class="your-custom-xf-wrapper">
<cq:PageContent cq:template="/libs/foundation/components/parsys/parsys.html"/>
<p>This is some static content within your custom XF.</p>
</div>
See if this can help you which I got from google.
cq.domReady(function() {
CQ.Ext.ns('AEM.Component.xfpage');
AEM.Component.xfpage.YourCustomXFComponent = CQ.Ext.extend(AEM.Component.xfpage, {
// Your custom component logic here
});
});
<div class="your-custom-xf-wrapper">
<cq:PageContent cq:template="/libs/foundation/components/parsys/parsys.html"/>
<p>This is some static content within your custom XF.</p>
</div>
Hi @Zendarkke
You can use core component
There you have a possibility to add XF as carousel item(slide).