Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
0

Re-ordering the included components

New Here ,
Mar 25, 2019 Mar 25, 2019

Copy link to clipboard

Copied

Hi Team,

I have a requirement where we include a component inside other component. If you see the code below , we have a list of components included dynamically. Now the  use-case is that author should be able  to re-order the included component's. i know we can re-order the components that can be dragged and droped, but not sure how to re-order the included components. Is there any way to do it?

<div data-sly-list.keyName="${model.articleList}">

    <p>${keyName}</p>

        <div data-sly-list.key="${model.articleList[keyName]}">

            <div class= "article_${keyList.count}" data-sly-resource="${@path=key.name, resourceType='/apps/test-proj/components/modular/content/articeInfo'}">/div>

       </div>

</div>

Thanks.

TOPICS
Creative Cloud

Views

118
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 25, 2019 Mar 25, 2019

Copy link to clipboard

Copied

LATEST

Please post the name of the program you use so a Moderator may move this message to that forum

-A program would be Photoshop or Dreamweaver or Muse or Premiere Pro or ???

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines