mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Update headers
This commit is contained in:
parent
dd6179a545
commit
b1740a9619
141 changed files with 911 additions and 931 deletions
|
@ -2,12 +2,12 @@
|
|||
<div class="content-section documentation">
|
||||
<TabView>
|
||||
<TabPanel header="Documentation">
|
||||
<h3>Import</h3>
|
||||
<h5>Import</h5>
|
||||
<CodeHighlight lang="javascript">
|
||||
import SelectButton from 'primevue/selectbutton';
|
||||
</CodeHighlight>
|
||||
|
||||
<h3>Getting Started</h3>
|
||||
<h5>Getting Started</h5>
|
||||
<p>SelectButton requires a value to bind and a collection of arbitrary objects along with the <i>optionLabel</i> property to specify the label property of the option.</p>
|
||||
<CodeHighlight>
|
||||
<SelectButton v-model="selectedCity" :options="cities" optionLabel="name" />
|
||||
|
@ -28,13 +28,13 @@ export default {
|
|||
}
|
||||
</CodeHighlight>
|
||||
|
||||
<h3>Multiple</h3>
|
||||
<h5>Multiple</h5>
|
||||
<p>SelectButton allows selecting only one item by default and setting <i>multiple</i> option enables choosing more than one item. In multiple case, model property should be an array.</p>
|
||||
<CodeHighlight>
|
||||
<SelectButton v-model="selectedCity" :options="cities" optionLabel="brand" :multiple="true" />
|
||||
</CodeHighlight>
|
||||
|
||||
<h3>Templating</h3>
|
||||
<h5>Templating</h5>
|
||||
<p>Label of an option is used as the display text of an item by default, for custom content support define an <i>option</i> template that gets the option instance as a parameter.</p>
|
||||
<CodeHighlight>
|
||||
<template v-pre>
|
||||
|
@ -49,7 +49,7 @@ export default {
|
|||
</template>
|
||||
</CodeHighlight>
|
||||
|
||||
<h3>Properties</h3>
|
||||
<h5>Properties</h5>
|
||||
<p>Any property as style and class are passed to the main container element. Following are the additional properties to configure the component.</p>
|
||||
<div class="doc-tablewrapper">
|
||||
<table class="doc-table">
|
||||
|
@ -120,7 +120,7 @@ export default {
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<h3>Events</h3>
|
||||
<h5>Events</h5>
|
||||
<div class="doc-tablewrapper">
|
||||
<table class="doc-table">
|
||||
<thead>
|
||||
|
@ -150,7 +150,7 @@ export default {
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<h3>Dependencies</h3>
|
||||
<h5>Dependencies</h5>
|
||||
<p>None.</p>
|
||||
</TabPanel>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue