Doc update

pull/12/head
cagataycivici 2019-05-23 16:29:28 +03:00
parent e5c9562a0a
commit 5f85149b6c
1 changed files with 15 additions and 0 deletions

View File

@ -37,6 +37,21 @@ import {Accordion, AccordionTab} from 'primevue/accordion';
Content
</AccordionTab>
</Accordion>
</CodeHighlight>
<p>Two-way binding requires the sync operator.</p>
<CodeHighlight>
&lt;Accordion&gt;
&lt;AccordionTab header="Header I" :active.sync="active1"&gt;
Content
&lt;/AccordionTab&gt;
&lt;AccordionTab header="Header II" :active.sync="active2"&gt;
Content
&lt;/AccordionTab&gt;
&lt;AccordionTab header="Header III" :active.sync="active3"&gt;
Content
&lt;/AccordionTab&gt;
&lt;/Accordion&gt;
</CodeHighlight>
<h3>Multiple</h3>