You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
<p>I'm the collapsible content. By default I'm closed, but you can click the header to open me</p>
45
+
<p>I'm the collapsible content. By default I'm closed, but you can click the header to open me.</p>
46
46
</div>
47
47
48
48
49
49
<p>As the example notes, by default the content will be collapsed. To expand the content when the page loads, add the <code>data-collapsed="false"</code> attribute to the wrapper.</p>
<p>This code will create a collapsible widget like this:</p>
@@ -63,17 +63,17 @@ <h3>I'm a header</h3>
63
63
<p>Collapsible content is minimally styled — we add only a bit of margin between the bar and content, and the header adopts the default Theme styles of the container it sits within.</p>
64
64
65
65
<h2>Collapsible example</h2>
66
-
<p>This page has 4 collapsible containers with different types of content inside.</p>
66
+
<p>This page has 5 collapsible containers with different types of content inside.</p>
67
67
68
68
<divdata-role="collapsible">
69
69
<h3>Section 1: Collapsed text block</h3>
70
70
<p>I'm closed when the page loads because that's the default state of a collapsible.</p>
71
71
<p>I'm the collapsible content. I'm the collapsible content. I'm the collapsible content. I'm the collapsible content. I'm the collapsible content. I'm the collapsible content. I'm the collapsible content. </p>
<p>I'm closed when the page loads because I don't have the <code>data-collapsed="false"</code> attribute on my container. </p>
76
+
<p>I'm opened when the page loads because I have the <code>data-collapsed="false"</code> attribute on my container. </p>
77
77
<p>I'm the collapsible content. I'm the collapsible content. I'm the collapsible content. I'm the collapsible content. I'm the collapsible content. I'm the collapsible content.</p>
0 commit comments