« BootstrapComponents/Accordion » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
mAucun résumé des modifications |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
→ Back to [[{{ | → Back to [[{{BASEPAGENAME}}|Bootstrap Components overview]] | ||
== Description == | == Description == | ||
An accordion can group a number of [[{{ | An accordion can group a number of [[{{BASEPAGENAME}}/Panel|panels]] together in a way, that all except one are collapsed. | ||
For available options to this component, | For available options to this component, please see the [https://github.com/oetterer/BootstrapComponents/blob/master/docs/components.md#accordion documentation on github]. | ||
Please also visit the [https://github.com/oetterer/BootstrapComponents/blob/master/docs/components.md#panel github documentation] when looking for help for the panel component. | Please also visit the [https://github.com/oetterer/BootstrapComponents/blob/master/docs/components.md#panel github documentation] when looking for help for the panel component. |
Dernière version du 6 février 2018 à 09:23
→ Back to Bootstrap Components overview
Description
An accordion can group a number of panels together in a way, that all except one are collapsed.
For available options to this component, please see the documentation on github.
Please also visit the github documentation when looking for help for the panel component.
Example
<bootstrap_accordion>
<bootstrap_panel heading="Headline for Panel1">Text inside the panel</bootstrap_panel>
<bootstrap_panel heading="Headline for Panel2" color="danger">Text inside the panel</bootstrap_panel>
<bootstrap_panel heading="Headline for Panel3" active>Text inside the panel</bootstrap_panel>
<bootstrap_panel heading="Headline for Panel4" color="info">Text inside the panel</bootstrap_panel>
</bootstrap_accordion>
Headline for Panel1
Text inside the panel
Headline for Panel2
Text inside the panel
Headline for Panel3
Text inside the panel
Headline for Panel4
Text inside the panel