Fix collapsible docs to match actual behavior
This commit is contained in:
gseguin 2011-09-25 08:22:53 -07:00
parent 5bd72c7b96
commit 6db3ca1390

View file

@ -35,14 +35,14 @@
<pre><code>
&lt;div data-role=&quot;collapsible&quot;&gt;
&lt;h3&gt;I&#x27;m a header&lt;/h3&gt;
&lt;p&gt;I&#x27;m the collapsible content. By default I'm open and displayed on the page, but you can click the header to hide me.&lt;/p&gt;
&lt;p&gt;I&#x27;m the collapsible content. By default I'm closed, but you can click the header to open me.&lt;/p&gt;
&lt;/div&gt;
</code></pre>
<div data-role="collapsible">
<h3>I'm a header</h3>
<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>
<p>I'm the collapsible content. By default I'm closed, but you can click the header to open me</p>
</div>
@ -57,7 +57,7 @@
<div data-role="collapsible" data-collapsed="false">
<h3>I'm a header</h3>
<p>I'm the collapsible content. I'm expanded by default because I have the "collapsed" state set to false; you need to expand the header to see me.</p>
<p>I'm the collapsible content. I'm expanded by default because I have the "collapsed" state set to false.</p>
</div>
<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>