<p>An accordion can have multiple levels of nested content. This content can either be in a nested <code>accordion</code> or simply another level of <code>title</code> and <code>content</code></p>
<div class="ui styled accordion">
<div class="active title">
@ -123,7 +123,7 @@ themes : ['Default', 'Chubby']
Level 1
</div>
<div class="active content">
Welcome to level 1 where sub content formatted as its own accordion.
<h3 class="ui header">Initializing an accordion</h3>
<div class="test code">
$('.ui.accordion')
.accordion()
;
<div class="no example">
<h4 class="ui header">Initializing an accordion</h4>
<p>Accordion is initialized on pre-existing markup</p>
<div class="test code">
$('.ui.accordion')
.accordion()
;
</div>
</div>
<div class="no example">
<h4 class="ui header">AJAX Content</h4>
<p>Accordions use <a href="https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver" target="_blank">DOM Mutation Observers</a> and delegated events to allow for easy compataibility with AJAX content, or content added after initialization.</p>
<p>If the DOM tree changes the module will automatically call <code>module.refresh</code> and update the selector cache. Because events are bound on the parent module using delegated events, events will automatically fire on content added after initialization.</p>
<p>If you change other attributes of the module without DOM insertion and need to update the cache you can do so by calling this module's <code>refresh</code> behavior.
<td>EaseInOutQuint is included with accordion, for additional options consider <a href="http://gsgd.co.uk/sandbox/jquery/easing/">jQuery easing</a>)</td>
<td>Easing of opening animation. EaseInOutQuint is included with accordion, for additional options you must include <a href="http://gsgd.co.uk/sandbox/jquery/easing/">easing equations</a>.</td>
</tr>
</tbody>
</table>
<h3 class="ui header">
<h4 class="ui header">
Callbacks
<div class="sub header">Callbacks specify a function to occur after a specific behavior.</div>
<p>A checkbox can be initialized with javascript for increase programmatic control</p>
<div class="code">
@ -104,7 +104,7 @@ themes : ['Default']
</div>
</div>
<h3 class="ui header">Check Box without Javascript</h3>
<h3 class="ui header">Checkbox without Javascript</h3>
<p>A checkbox can also be used without using javascript by matching the <code>id</code> attribute of the input field to the <code>for</code> attribute of the accompanying label</p>