Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 4ca4259

Browse files
committed
Merge pull request #2525 from MauriceG/patch-4
correct some typos and correction for #2524. Thanks MauriceG!
2 parents 6db3ca1 + 8539423 commit 4ca4259

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/content/content-collapsible.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h1>Collapsible content</h1>
2424
<div class="content-primary">
2525

2626
<h2>Collapsible content markup</h2>
27-
<p>To create a collapsible blocks of content, create a container and add the <code> data-role="collapsible"</code> attribute.</p>
27+
<p>To create a collapsible block of content, create a container and add the <code> data-role="collapsible"</code> attribute.</p>
2828

2929
<p>Using <code>data-content-theme</code> attribute allows you to set a theme for the content of the collapsible.</p>
3030

@@ -42,14 +42,14 @@ <h2>Collapsible content markup</h2>
4242

4343
<div data-role="collapsible">
4444
<h3>I'm a header</h3>
45-
<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>
4646
</div>
4747

4848

4949
<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>
5050

5151
<code>
52-
&lt;div data-role=&quot;collapsible&quot; <strong>data-collapsed=&quot;true&quot;&gt;</strong>
52+
&lt;div data-role=&quot;collapsible&quot; <strong>data-collapsed=&quot;false&quot;&gt;</strong>
5353
</code>
5454

5555
<p>This code will create a collapsible widget like this:</p>
@@ -63,17 +63,17 @@ <h3>I'm a header</h3>
6363
<p>Collapsible content is minimally styled &mdash; 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>
6464

6565
<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>
6767

6868
<div data-role="collapsible">
6969
<h3>Section 1: Collapsed text block</h3>
7070
<p>I'm closed when the page loads because that's the default state of a collapsible.</p>
7171
<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>
7272
</div><!-- /section 1 -->
7373

74-
<div data-role="collapsible">
74+
<div data-role="collapsible" data-collapsed="false">
7575
<h3>Section 2: Expanded on load</h3>
76-
<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>
7777
<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>
7878
</div><!-- /section 2 -->
7979

@@ -115,12 +115,12 @@ <h3>Section 5: themed content</h3>
115115
</div><!-- /section 5 -->
116116

117117
<h2>Nested Collapsibles</h2>
118-
<div data-role="collapsible">
118+
<div data-role="collapsible" data-collapsed="false">
119119
<h3>I'm a header</h3>
120120
<p>I'm the collapsible content. By default I'm open and displayed on the page, but you can click the header to hide me.</p>
121-
<div data-role="collapsible">
121+
<div data-role="collapsible" data-collapsed="false">
122122
<h3>I'm a nested collapsible header</h3>
123-
<p>I'm the collapsible content. By default I'm open and displayed on the page, but you can click the header to hide me.</p>
123+
<p>I'm the collapsible content in a nested collapsible. By default I'm open and displayed on the page, but you can click the header to hide me.</p>
124124
</div>
125125
</div>
126126

0 commit comments

Comments
 (0)