Skip to content

Commit

Permalink
📖Update misspelling of behavior in amp-accordion example (ampproject#…
Browse files Browse the repository at this point in the history
…18330)

* Update spelling of behavior

* Prevented whitespaces from being removed by IDE
  • Loading branch information
sanchezedgar authored and torch2424 committed Oct 10, 2018
1 parent c795061 commit 1938512
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -918,7 +918,7 @@ <h2 id="setup" class="www-heading pb4 mb2 relative h3">Setup</h2>
<h2 id="basic-usage" class="www-heading pb4 mb2 relative h3">Basic Usage</h2>
</section>
<section class="www-component-desc">
<p class="mb2 px1"> Each of the <code>amp-accordion</code> component’s immediate children is considered a section in the accordion. Each of these nodes must be a <code>&lt;section&gt;</code> tag. Each <code>&lt;section&gt;</code> must contain only two direct children. The first child (of the section) will be considered as the heading of the section. Clicking/tapping on this section will trigger the expand/collapse behaviour. Use the <code>disable-session-states</code> attribute to disable preserving the accordion state across a session.</p>
<p class="mb2 px1"> Each of the <code>amp-accordion</code> component’s immediate children is considered a section in the accordion. Each of these nodes must be a <code>&lt;section&gt;</code> tag. Each <code>&lt;section&gt;</code> must contain only two direct children. The first child (of the section) will be considered as the heading of the section. Clicking/tapping on this section will trigger the expand/collapse behavior. Use the <code>disable-session-states</code> attribute to disable preserving the accordion state across a session.</p>
<div class="abe-code-container">
<div class="abe-code-preview ampstart-card">
<h3 class="abe-code p1 caps h4">Example</h3>
Expand Down

0 comments on commit 1938512

Please sign in to comment.