アコーディオンの要素の設定はPanelに順次します。

Collapsible Group Item #1

Content #1

Collapsible Group Item #2

Content #2

Collapsible Group Item #3

Content #3

<accordion>
<panel title="Collapsible Group Item #1">Content #1</panel>
<panel title="Collapsible Group Item #2">Content #2</panel>
<panel title="Collapsible Group Item #3">Content #3</panel>
</accordion>

Panel と同様にアイコンをつけることもできます

Collapsible Group Item #1

Content #1

Collapsible Group Item #2

Content #2

Collapsible Group Item #3

Content #3

<accordion>
<panel title="Collapsible Group Item #1" icon="fa fa-home">Content #1</panel>
<panel title="Collapsible Group Item #2" icon="fa fa-home">Content #2</panel>
<panel title="Collapsible Group Item #3" icon="fa fa-home">Content #3</panel>
</accordion>
  • syntax/panel/accordion.txt
  • 最終更新: 2年前
  • by Obocchama