Demo update

pull/12/head
cagataycivici 2019-05-22 19:30:18 +03:00
parent a05b0a5758
commit 66fa8030df
47 changed files with 1091 additions and 1091 deletions

View File

@ -11,13 +11,13 @@ import {Accordion, AccordionTab} from 'primevue/accordion';
<p>Accordion element consists of one or more AccordionTab elements. Title of the tab is defined using header attribute.</p> <p>Accordion element consists of one or more AccordionTab elements. Title of the tab is defined using header attribute.</p>
<CodeHighlight> <CodeHighlight>
&lt;Accordion&gt; &lt;Accordion&gt;
&lt;AccordionTab header=&quot;Header I&quot;&gt; &lt;AccordionTab header="Header I"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header II&quot;&gt; &lt;AccordionTab header="Header II"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header III&quot;&gt; &lt;AccordionTab header="Header III"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;/Accordion&gt; &lt;/Accordion&gt;
@ -27,13 +27,13 @@ import {Accordion, AccordionTab} from 'primevue/accordion';
<p>Visibility of the content is specified with the active property that supports one or two-way binding.</p> <p>Visibility of the content is specified with the active property that supports one or two-way binding.</p>
<CodeHighlight> <CodeHighlight>
&lt;Accordion&gt; &lt;Accordion&gt;
&lt;AccordionTab header=&quot;Header I&quot; :active=&quot;true&quot;&gt; &lt;AccordionTab header="Header I" :active="true"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header II&quot;&gt; &lt;AccordionTab header="Header II"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header III&quot;&gt; &lt;AccordionTab header="Header III"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;/Accordion&gt; &lt;/Accordion&gt;
@ -43,14 +43,14 @@ import {Accordion, AccordionTab} from 'primevue/accordion';
<p>By default only one tab at a time can be active, enabling multiple property changes this behavior to allow multiple <p>By default only one tab at a time can be active, enabling multiple property changes this behavior to allow multiple
tabs be active at the same time.</p> tabs be active at the same time.</p>
<CodeHighlight> <CodeHighlight>
&lt;Accordion :multiple=&quot;true&quot; &gt; &lt;Accordion :multiple="true" &gt;
&lt;AccordionTab header=&quot;Header I&quot;&gt; &lt;AccordionTab header="Header I"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header II&quot;&gt; &lt;AccordionTab header="Header II"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header III&quot;&gt; &lt;AccordionTab header="Header III"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;/Accordion&gt; &lt;/Accordion&gt;
@ -60,13 +60,13 @@ import {Accordion, AccordionTab} from 'primevue/accordion';
<p>A tab can be disabled by setting the disabled property to true.</p> <p>A tab can be disabled by setting the disabled property to true.</p>
<CodeHighlight> <CodeHighlight>
&lt;Accordion&gt; &lt;Accordion&gt;
&lt;AccordionTab header=&quot;Header I&quot;&gt; &lt;AccordionTab header="Header I"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header II&quot;&gt; &lt;AccordionTab header="Header II"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header III&quot; :disabled=&quot;true&quot;&gt; &lt;AccordionTab header="Header III" :disabled="true"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;/Accordion&gt; &lt;/Accordion&gt;
@ -77,22 +77,22 @@ import {Accordion, AccordionTab} from 'primevue/accordion';
<CodeHighlight> <CodeHighlight>
&lt;Accordion&gt; &lt;Accordion&gt;
&lt;AccordionTab&gt; &lt;AccordionTab&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-calendar&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-calendar"&gt;&lt;/i&gt;
&lt;span&gt;Header I&lt;/span&gt; &lt;span&gt;Header I&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab&gt; &lt;AccordionTab&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-calendar&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-calendar"&gt;&lt;/i&gt;
&lt;span&gt;Header II&lt;/span&gt; &lt;span&gt;Header II&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab&gt; &lt;AccordionTab&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-calendar&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-calendar"&gt;&lt;/i&gt;
&lt;span&gt;Header III&lt;/span&gt; &lt;span&gt;Header III&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
Content Content
@ -104,19 +104,19 @@ import {Accordion, AccordionTab} from 'primevue/accordion';
<p>Tabs can be controlled programmatically using active property.</p> <p>Tabs can be controlled programmatically using active property.</p>
<CodeHighlight> <CodeHighlight>
&lt;div&gt; &lt;div&gt;
&lt;Button :icon=&quot;active1 ? 'pi pi-minus' : 'pi pi-plus'&quot; label=&quot;Toggle 1st&quot; @click=&quot;active1 = !active1&quot; class=&quot;p-button-secondary&quot; /&gt; &lt;Button :icon="active1 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 1st" @click="active1 = !active1" class="p-button-secondary" /&gt;
&lt;Button :icon=&quot;active2 ? 'pi pi-minus' : 'pi pi-plus'&quot; label=&quot;Toggle 2nd&quot; @click=&quot;active2 = !active2&quot; class=&quot;p-button-secondary&quot; style=&quot;margin-left: .5em&quot; /&gt; &lt;Button :icon="active2 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 2nd" @click="active2 = !active2" class="p-button-secondary" style="margin-left: .5em" /&gt;
&lt;Button :icon=&quot;active3 ? 'pi pi-minus' : 'pi pi-plus'&quot; label=&quot;Toggle 3rd&quot; @click=&quot;active3 = !active3&quot; class=&quot;p-button-secondary&quot; style=&quot;margin-left: .5em&quot; /&gt; &lt;Button :icon="active3 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 3rd" @click="active3 = !active3" class="p-button-secondary" style="margin-left: .5em" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;Accordion :multiple=&quot;true&quot;&gt; &lt;Accordion :multiple="true"&gt;
&lt;AccordionTab header=&quot;Header I&quot; :active=&quot;active1&quot;&gt; &lt;AccordionTab header="Header I" :active="active1"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header II&quot; :active=&quot;active2&quot;&gt; &lt;AccordionTab header="Header II" :active="active2"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Header III&quot; :active=&quot;active3&quot;&gt; &lt;AccordionTab header="Header III" :active="active3"&gt;
Content Content
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;/Accordion&gt; &lt;/Accordion&gt;
@ -258,27 +258,27 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;AccordionPanel&lt;/h1&gt; &lt;h1&gt;AccordionPanel&lt;/h1&gt;
&lt;p&gt;AccordionPanel groups a collection of contents in tabs.&lt;/p&gt; &lt;p&gt;AccordionPanel groups a collection of contents in tabs.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Default&lt;/h3&gt; &lt;h3 class="first"&gt;Default&lt;/h3&gt;
&lt;Accordion&gt; &lt;Accordion&gt;
&lt;AccordionTab header=&quot;Godfather I&quot;&gt; &lt;AccordionTab header="Godfather I"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war, The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war,
but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is
just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Godfather II&quot;&gt; &lt;AccordionTab header="Godfather II"&gt;
Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall, Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall,
deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills
his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy. his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Godfather III&quot;&gt; &lt;AccordionTab header="Godfather III"&gt;
The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal
interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father. interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father.
A decade earlier, he gave custody of his two children to Kay, who has since remarried. A decade earlier, he gave custody of his two children to Kay, who has since remarried.
@ -286,45 +286,45 @@ export default {
&lt;/Accordion&gt; &lt;/Accordion&gt;
&lt;h3&gt;Multiple&lt;/h3&gt; &lt;h3&gt;Multiple&lt;/h3&gt;
&lt;Accordion :multiple=&quot;true&quot;&gt; &lt;Accordion :multiple="true"&gt;
&lt;AccordionTab header=&quot;Godfather I&quot;&gt; &lt;AccordionTab header="Godfather I"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war, The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war,
but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is
just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Godfather II&quot;&gt; &lt;AccordionTab header="Godfather II"&gt;
Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall, Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall,
deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills
his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy. his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Godfather III&quot;&gt; &lt;AccordionTab header="Godfather III"&gt;
The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal
interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father. interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father.
A decade earlier, he gave custody of his two children to Kay, who has since remarried. A decade earlier, he gave custody of his two children to Kay, who has since remarried.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Godfather IV&quot; :disabled=&quot;true&quot;&gt; &lt;AccordionTab header="Godfather IV" :disabled="true"&gt;
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;/Accordion&gt; &lt;/Accordion&gt;
&lt;h3&gt;Programmatic&lt;/h3&gt; &lt;h3&gt;Programmatic&lt;/h3&gt;
&lt;div style=&quot;padding: .5em 0&quot;&gt; &lt;div style="padding: .5em 0"&gt;
&lt;Button :icon=&quot;active1 ? 'pi pi-minus' : 'pi pi-plus'&quot; label=&quot;Toggle 1st&quot; @click=&quot;active1 = !active1&quot; class=&quot;p-button-secondary&quot; /&gt; &lt;Button :icon="active1 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 1st" @click="active1 = !active1" class="p-button-secondary" /&gt;
&lt;Button :icon=&quot;active2 ? 'pi pi-minus' : 'pi pi-plus'&quot; label=&quot;Toggle 2nd&quot; @click=&quot;active2 = !active2&quot; class=&quot;p-button-secondary&quot; style=&quot;margin-left: .5em&quot; /&gt; &lt;Button :icon="active2 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 2nd" @click="active2 = !active2" class="p-button-secondary" style="margin-left: .5em" /&gt;
&lt;Button :icon=&quot;active3 ? 'pi pi-minus' : 'pi pi-plus'&quot; label=&quot;Toggle 3rd&quot; @click=&quot;active3 = !active3&quot; class=&quot;p-button-secondary&quot; style=&quot;margin-left: .5em&quot; /&gt; &lt;Button :icon="active3 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 3rd" @click="active3 = !active3" class="p-button-secondary" style="margin-left: .5em" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;Accordion :multiple=&quot;true&quot;&gt; &lt;Accordion :multiple="true"&gt;
&lt;AccordionTab header=&quot;Godfather I&quot; :active=&quot;active1&quot;&gt; &lt;AccordionTab header="Godfather I" :active="active1"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war, The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war,
but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is
just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Godfather II&quot; :active=&quot;active2&quot;&gt; &lt;AccordionTab header="Godfather II" :active="active2"&gt;
Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall, Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall,
deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills
his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy. his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab header=&quot;Godfather III&quot; :active=&quot;active3&quot;&gt; &lt;AccordionTab header="Godfather III" :active="active3"&gt;
The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal
interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father. interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father.
A decade earlier, he gave custody of his two children to Kay, who has since remarried. A decade earlier, he gave custody of his two children to Kay, who has since remarried.
@ -332,10 +332,10 @@ export default {
&lt;/Accordion&gt; &lt;/Accordion&gt;
&lt;h3&gt;Custom Headers&lt;/h3&gt; &lt;h3&gt;Custom Headers&lt;/h3&gt;
&lt;Accordion class=&quot;accordion-custom&quot;&gt; &lt;Accordion class="accordion-custom"&gt;
&lt;AccordionTab&gt; &lt;AccordionTab&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-calendar&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-calendar"&gt;&lt;/i&gt;
&lt;span&gt;Godfather I&lt;/span&gt; &lt;span&gt;Godfather I&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war, The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war,
@ -343,8 +343,8 @@ export default {
just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab&gt; &lt;AccordionTab&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-user&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-user"&gt;&lt;/i&gt;
&lt;span&gt;Godfather II&lt;/span&gt; &lt;span&gt;Godfather II&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall, Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall,
@ -352,10 +352,10 @@ export default {
his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy. his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy.
&lt;/AccordionTab&gt; &lt;/AccordionTab&gt;
&lt;AccordionTab&gt; &lt;AccordionTab&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-search&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-search"&gt;&lt;/i&gt;
&lt;span&gt;Godfather III&lt;/span&gt; &lt;span&gt;Godfather III&lt;/span&gt;
&lt;i class=&quot;pi pi-cog&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-cog"&gt;&lt;/i&gt;
&lt;/template&gt; &lt;/template&gt;
The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal
interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father. interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father.

View File

@ -11,7 +11,7 @@ import AutoComplete from 'primevue/autocomplete';
<p>AutoComplete uses v-model for two-way binding, requires a list of suggestions and a complete method to query for the results. The complete method <p>AutoComplete uses v-model for two-way binding, requires a list of suggestions and a complete method to query for the results. The complete method
gets the query text as event.query property and should update the suggestions with the search results. Example below connects to a remote datasource to fetch the results;</p> gets the query text as event.query property and should update the suggestions with the search results. Example below connects to a remote datasource to fetch the results;</p>
<CodeHighlight> <CodeHighlight>
&lt;AutoComplete v-model=&quot;selectedCountry&quot; :suggestions=&quot;filteredCountriesBasic&quot; @complete=&quot;searchCountry($event)&quot; field=&quot;name&quot; /&gt; &lt;AutoComplete v-model="selectedCountry" :suggestions="filteredCountriesBasic" @complete="searchCountry($event)" field="name" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
export default { export default {
@ -39,13 +39,13 @@ export default {
"blank" is the default mode to send a query with an empty string whereas "blank" is the default mode to send a query with an empty string whereas
"current" setting sends a query with the current value of the input.</p> "current" setting sends a query with the current value of the input.</p>
<CodeHighlight> <CodeHighlight>
&lt;AutoComplete v-model=&quot;brand&quot; :dropdown=&quot;true&quot; :suggestions=&quot;filteredBrands&quot; @complete=&quot;searchBrand($event)&quot; placeholder=&quot;Hint: type 'v' or 'f'&quot; /&gt; &lt;AutoComplete v-model="brand" :dropdown="true" :suggestions="filteredBrands" @complete="searchBrand($event)" placeholder="Hint: type 'v' or 'f'" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Multiple Mode</h3> <h3>Multiple Mode</h3>
<p>Multiple mode is enabled using <i>multiple</i> property to select more than one value from the autocomplete. In this case, value reference should be an array.</p> <p>Multiple mode is enabled using <i>multiple</i> property to select more than one value from the autocomplete. In this case, value reference should be an array.</p>
<CodeHighlight> <CodeHighlight>
&lt;AutoComplete :multiple=&quot;true&quot; v-model=&quot;selectedCountries&quot; :suggestions=&quot;filteredCountriesMultiple&quot; @complete=&quot;searchCountryMultiple($event)&quot; field=&quot;name&quot; /&gt; &lt;AutoComplete :multiple="true" v-model="selectedCountries" :suggestions="filteredCountriesMultiple" @complete="searchCountryMultiple($event)" field="name" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Objects</h3> <h3>Objects</h3>
@ -53,16 +53,16 @@ export default {
as a suggestion. The value passed to the model would still be the object instance of a suggestion. as a suggestion. The value passed to the model would still be the object instance of a suggestion.
Here is an example with a Country object that has name and code fields such as &#123;name:"United States",code:"USA"&#125;.</p> Here is an example with a Country object that has name and code fields such as &#123;name:"United States",code:"USA"&#125;.</p>
<CodeHighlight> <CodeHighlight>
&lt;AutoComplete field=&quot;label&quot; v-model=&quot;selectedCountry&quot; :suggestions=&quot;filteredCountriesBasic&quot; @complete=&quot;searchCountryBasic($event)&quot; /&gt; &lt;AutoComplete field="label" v-model="selectedCountry" :suggestions="filteredCountriesBasic" @complete="searchCountryBasic($event)" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Templating</h3> <h3>Templating</h3>
<p>Item template allows displaying custom content inside the suggestions panel. The slotProps variable passed to the template provides an item property to represent an item in the suggestions collection.</p> <p>Item template allows displaying custom content inside the suggestions panel. The slotProps variable passed to the template provides an item property to represent an item in the suggestions collection.</p>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;AutoComplete v-model=&quot;brand&quot; :suggestions=&quot;filteredBrands&quot; @complete=&quot;searchBrand($event)&quot; placeholder=&quot;Hint: type 'v' or 'f'&quot; :dropdown=&quot;true&quot;&gt; &lt;AutoComplete v-model="brand" :suggestions="filteredBrands" @complete="searchBrand($event)" placeholder="Hint: type 'v' or 'f'" :dropdown="true"&gt;
&lt;template #item=&quot;slotProps&quot;&gt; &lt;template #item="slotProps"&gt;
&lt;img :alt=&quot;slotProps.item&quot; :src=&quot;'/demo/images/car/' + slotProps.item + '.png'&quot; /&gt; &lt;img :alt="slotProps.item" :src="'/demo/images/car/' + slotProps.item + '.png'" /&gt;
&lt;div&gt;{{slotProps.item}}&lt;/div&gt; &lt;div&gt;{{slotProps.item}}&lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/AutoComplete&gt; &lt;/AutoComplete&gt;
@ -259,35 +259,35 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;AutoComplete&lt;/h1&gt; &lt;h1&gt;AutoComplete&lt;/h1&gt;
&lt;p&gt;AutoComplete is an input component that provides real-time suggestions when being typed.&lt;/p&gt; &lt;p&gt;AutoComplete is an input component that provides real-time suggestions when being typed.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;AutoComplete v-model=&quot;selectedCountry&quot; :suggestions=&quot;filteredCountriesBasic&quot; @complete=&quot;searchCountryBasic($event)&quot; field=&quot;name&quot; /&gt; &lt;AutoComplete v-model="selectedCountry" :suggestions="filteredCountriesBasic" @complete="searchCountryBasic($event)" field="name" /&gt;
&lt;span style=&quot;marginLeft: .5em&quot;&gt;Country: {{selectedCountry || 'none'}}&lt;/span&gt; &lt;span style="marginLeft: .5em"&gt;Country: {{selectedCountry || 'none'}}&lt;/span&gt;
&lt;h3&gt;Dropdown and Templating&lt;/h3&gt; &lt;h3&gt;Dropdown and Templating&lt;/h3&gt;
&lt;AutoComplete v-model=&quot;brand&quot; :suggestions=&quot;filteredBrands&quot; @complete=&quot;searchBrand($event)&quot; placeholder=&quot;Hint: type 'v' or 'f'&quot; :dropdown=&quot;true&quot;&gt; &lt;AutoComplete v-model="brand" :suggestions="filteredBrands" @complete="searchBrand($event)" placeholder="Hint: type 'v' or 'f'" :dropdown="true"&gt;
&lt;template #item=&quot;slotProps&quot;&gt; &lt;template #item="slotProps"&gt;
&lt;div class=&quot;p-clearfix p-autocomplete-brand-item&quot;&gt; &lt;div class="p-clearfix p-autocomplete-brand-item"&gt;
&lt;img :alt=&quot;slotProps.item&quot; :src=&quot;'/demo/images/car/' + slotProps.item + '.png'&quot; /&gt; &lt;img :alt="slotProps.item" :src="'/demo/images/car/' + slotProps.item + '.png'" /&gt;
&lt;div&gt;{{slotProps.item}}&lt;/div&gt; &lt;div&gt;{{slotProps.item}}&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/AutoComplete&gt; &lt;/AutoComplete&gt;
&lt;span style=&quot;marginLeft: .5em&quot;&gt;Brand: {{brand || 'none'}}&lt;/span&gt; &lt;span style="marginLeft: .5em"&gt;Brand: {{brand || 'none'}}&lt;/span&gt;
&lt;h3&gt;Multiple&lt;/h3&gt; &lt;h3&gt;Multiple&lt;/h3&gt;
&lt;span class=&quot;p-fluid&quot;&gt; &lt;span class="p-fluid"&gt;
&lt;AutoComplete :multiple=&quot;true&quot; v-model=&quot;selectedCountries&quot; :suggestions=&quot;filteredCountriesMultiple&quot; @complete=&quot;searchCountryMultiple($event)&quot; field=&quot;name&quot; /&gt; &lt;AutoComplete :multiple="true" v-model="selectedCountries" :suggestions="filteredCountriesMultiple" @complete="searchCountryMultiple($event)" field="name" /&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;ul&gt; &lt;ul&gt;
&lt;li v-for=&quot;(c,i) of selectedCountries&quot; :key=&quot;i&quot;&gt;{{c}}&lt;/li&gt; &lt;li v-for="(c,i) of selectedCountries" :key="i"&gt;{{c}}&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -16,19 +16,19 @@ import Button from 'primevue/button';
<h3>Label</h3> <h3>Label</h3>
<p>Text of the button is defined using the <i>label</i> property.</p> <p>Text of the button is defined using the <i>label</i> property.</p>
<CodeHighlight> <CodeHighlight>
&lt;Button label=&quot;Click&quot; /&gt; &lt;Button label="Click" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Icons</h3> <h3>Icons</h3>
<p>Icon on a button is specified with <i>icon</i> property and position is configured using <i>iconPos</i> attribute. Default <p>Icon on a button is specified with <i>icon</i> property and position is configured using <i>iconPos</i> attribute. Default
icon position is "left" and alternative is "right". To display only an icon, leave label as undefined.</p> icon position is "left" and alternative is "right". To display only an icon, leave label as undefined.</p>
<CodeHighlight> <CodeHighlight>
&lt;Button label=&quot;Click&quot; icon=&quot;pi pi-check&quot; iconPos=&quot;right&quot; /&gt; &lt;Button label="Click" icon="pi pi-check" iconPos="right" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Events</h3> <h3>Events</h3>
<p>Events are defined with the standard notation.</p> <p>Events are defined with the standard notation.</p>
<CodeHighlight> <CodeHighlight>
&lt;Button label=&quot;Click&quot; @click=&quot;handleClick($event)&quot;/&gt; &lt;Button label="Click" @click="handleClick($event)"/&gt;
</CodeHighlight> </CodeHighlight>
<h3>Severity</h3> <h3>Severity</h3>
@ -43,18 +43,18 @@ import Button from 'primevue/button';
</ul> </ul>
<CodeHighlight> <CodeHighlight>
&lt;Button label=&quot;Primary&quot; /&gt; &lt;Button label="Primary" /&gt;
&lt;Button label=&quot;Secondary&quot; class=&quot;p-button-secondary&quot; /&gt; &lt;Button label="Secondary" class="p-button-secondary" /&gt;
&lt;Button label=&quot;Success&quot; class=&quot;p-button-success&quot; /&gt; &lt;Button label="Success" class="p-button-success" /&gt;
&lt;Button label=&quot;Info&quot; class=&quot;p-button-info&quot; /&gt; &lt;Button label="Info" class="p-button-info" /&gt;
&lt;Button label=&quot;Warning&quot; class=&quot;p-button-warning&quot; /&gt; &lt;Button label="Warning" class="p-button-warning" /&gt;
&lt;Button label=&quot;Danger&quot; class=&quot;p-button-danger&quot; /&gt; &lt;Button label="Danger" class="p-button-danger" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Raised and Rounded Buttons</h3> <h3>Raised and Rounded Buttons</h3>
<p>A button can be raised by having "p-button-raised" style class and similarly borders can be made rounded using "p-button-rounded" class.</p> <p>A button can be raised by having "p-button-raised" style class and similarly borders can be made rounded using "p-button-rounded" class.</p>
<CodeHighlight> <CodeHighlight>
&lt;Button label=&quot;Primary&quot; class=&quot;p-button-raised p-button-rounded&quot; /&gt; &lt;Button label="Primary" class="p-button-raised p-button-rounded" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -130,44 +130,44 @@ import Button from 'primevue/button';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Button&lt;/h1&gt; &lt;h1&gt;Button&lt;/h1&gt;
&lt;p&gt;Button is an extension to standard button element with icons and theming.&lt;/p&gt; &lt;p&gt;Button is an extension to standard button element with icons and theming.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;Button label=&quot;Click&quot; /&gt; &lt;Button label="Click" /&gt;
&lt;Button label=&quot;Click&quot; icon=&quot;pi pi-check&quot; /&gt; &lt;Button label="Click" icon="pi pi-check" /&gt;
&lt;Button label=&quot;Click&quot; icon=&quot;pi pi-check&quot; iconPos=&quot;right&quot; /&gt; &lt;Button label="Click" icon="pi pi-check" iconPos="right" /&gt;
&lt;Button icon=&quot;pi pi-check&quot; /&gt; &lt;Button icon="pi pi-check" /&gt;
&lt;Button label=&quot;Click&quot; disabled=&quot;disabled&quot; /&gt; &lt;Button label="Click" disabled="disabled" /&gt;
&lt;h3&gt;Severities&lt;/h3&gt; &lt;h3&gt;Severities&lt;/h3&gt;
&lt;Button label=&quot;Primary&quot; /&gt; &lt;Button label="Primary" /&gt;
&lt;Button label=&quot;Secondary&quot; class=&quot;p-button-secondary&quot; /&gt; &lt;Button label="Secondary" class="p-button-secondary" /&gt;
&lt;Button label=&quot;Success&quot; class=&quot;p-button-success&quot; /&gt; &lt;Button label="Success" class="p-button-success" /&gt;
&lt;Button label=&quot;Info&quot; class=&quot;p-button-info&quot; /&gt; &lt;Button label="Info" class="p-button-info" /&gt;
&lt;Button label=&quot;Warning&quot; class=&quot;p-button-warning&quot; /&gt; &lt;Button label="Warning" class="p-button-warning" /&gt;
&lt;Button label=&quot;Danger&quot; class=&quot;p-button-danger&quot; /&gt; &lt;Button label="Danger" class="p-button-danger" /&gt;
&lt;h3&gt;Raised Buttons&lt;/h3&gt; &lt;h3&gt;Raised Buttons&lt;/h3&gt;
&lt;Button label=&quot;Primary&quot; class=&quot;p-button-raised&quot; /&gt; &lt;Button label="Primary" class="p-button-raised" /&gt;
&lt;Button label=&quot;Secondary&quot; class=&quot;p-button-raised p-button-secondary&quot; /&gt; &lt;Button label="Secondary" class="p-button-raised p-button-secondary" /&gt;
&lt;Button label=&quot;Success&quot; class=&quot;p-button-raised p-button-success&quot; /&gt; &lt;Button label="Success" class="p-button-raised p-button-success" /&gt;
&lt;Button label=&quot;Info&quot; class=&quot;p-button-raised p-button-info&quot; /&gt; &lt;Button label="Info" class="p-button-raised p-button-info" /&gt;
&lt;Button label=&quot;Warning&quot; class=&quot;p-button-raised p-button-warning&quot; /&gt; &lt;Button label="Warning" class="p-button-raised p-button-warning" /&gt;
&lt;Button label=&quot;Danger&quot; class=&quot;p-button-raised p-button-danger&quot; /&gt; &lt;Button label="Danger" class="p-button-raised p-button-danger" /&gt;
&lt;h3&gt;Rounded Buttons&lt;/h3&gt; &lt;h3&gt;Rounded Buttons&lt;/h3&gt;
&lt;Button label=&quot;Primary&quot; class=&quot;p-button-rounded&quot; /&gt; &lt;Button label="Primary" class="p-button-rounded" /&gt;
&lt;Button label=&quot;Secondary&quot; class=&quot;p-button-rounded p-button-secondary&quot; /&gt; &lt;Button label="Secondary" class="p-button-rounded p-button-secondary" /&gt;
&lt;Button label=&quot;Success&quot; class=&quot;p-button-rounded p-button-success&quot; /&gt; &lt;Button label="Success" class="p-button-rounded p-button-success" /&gt;
&lt;Button label=&quot;Info&quot; class=&quot;p-button-rounded p-button-info&quot; /&gt; &lt;Button label="Info" class="p-button-rounded p-button-info" /&gt;
&lt;Button label=&quot;Warning&quot; class=&quot;p-button-rounded p-button-warning&quot; /&gt; &lt;Button label="Warning" class="p-button-rounded p-button-warning" /&gt;
&lt;Button label=&quot;Danger&quot; class=&quot;p-button-rounded p-button-danger&quot; /&gt; &lt;Button label="Danger" class="p-button-rounded p-button-danger" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -145,9 +145,9 @@ export default {
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;Calendar v-model=&quot;value&quot;&gt; &lt;Calendar v-model="value"&gt;
&lt;template #date=&quot;slotProps&quot;&gt; &lt;template #date="slotProps"&gt;
&lt;div v-if=&quot;slotProps.date.day &gt; 10 &amp;&amp; slotProps.date.day &lt; 15&quot; class=&quot;special-day&quot;&gt;{{slotProps.date.day}}&lt;/div&gt; &lt;div v-if="slotProps.date.day &gt; 10 &amp;&amp; slotProps.date.day &lt; 15" class="special-day"&gt;{{slotProps.date.day}}&lt;/div&gt;
&lt;span v-else&gt;{{slotProps.date.day}}&lt;/span&gt; &lt;span v-else&gt;{{slotProps.date.day}}&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Calendar&gt; &lt;/Calendar&gt;
@ -535,84 +535,84 @@ export default {
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Calendar&lt;/h1&gt; &lt;h1&gt;Calendar&lt;/h1&gt;
&lt;p&gt;Calendar is an input component to select a date.&lt;/p&gt; &lt;p&gt;Calendar is an input component to select a date.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot; style=&quot;padding-top:0&quot;&gt; &lt;div class="content-section implementation" style="padding-top:0"&gt;
&lt;div class=&quot;p-grid p-fluid&quot;&gt; &lt;div class="p-grid p-fluid"&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Basic&lt;/h3&gt; &lt;h3&gt;Basic&lt;/h3&gt;
&lt;Calendar v-model=&quot;date1&quot; /&gt; &lt;Calendar v-model="date1" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Spanish&lt;/h3&gt; &lt;h3&gt;Spanish&lt;/h3&gt;
&lt;Calendar v-model=&quot;date2&quot; :locale=&quot;es&quot; dateFormat=&quot;dd/mm/yy&quot; /&gt; &lt;Calendar v-model="date2" :locale="es" dateFormat="dd/mm/yy" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Icon&lt;/h3&gt; &lt;h3&gt;Icon&lt;/h3&gt;
&lt;Calendar v-model=&quot;date3&quot; :showIcon=&quot;true&quot; /&gt; &lt;Calendar v-model="date3" :showIcon="true" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Min-Max&lt;/h3&gt; &lt;h3&gt;Min-Max&lt;/h3&gt;
&lt;Calendar v-model=&quot;date4&quot; :minDate=&quot;minDate&quot; :maxDate=&quot;maxDate&quot; :manualInput=&quot;false&quot; /&gt; &lt;Calendar v-model="date4" :minDate="minDate" :maxDate="maxDate" :manualInput="false" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Disable Days&lt;/h3&gt; &lt;h3&gt;Disable Days&lt;/h3&gt;
&lt;Calendar v-model=&quot;date5&quot; :disabledDates=&quot;invalidDates&quot; :disabledDays=&quot;[0,6]&quot; :manualInput=&quot;false&quot; /&gt; &lt;Calendar v-model="date5" :disabledDates="invalidDates" :disabledDays="[0,6]" :manualInput="false" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Navigators&lt;/h3&gt; &lt;h3&gt;Navigators&lt;/h3&gt;
&lt;Calendar v-model=&quot;date6&quot; :monthNavigator=&quot;true&quot; :yearNavigator=&quot;true&quot; yearRange=&quot;2000:2030&quot; /&gt; &lt;Calendar v-model="date6" :monthNavigator="true" :yearNavigator="true" yearRange="2000:2030" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Multiple&lt;/h3&gt; &lt;h3&gt;Multiple&lt;/h3&gt;
&lt;Calendar v-model=&quot;dates1&quot; selectionMode=&quot;multiple&quot; :manualInput=&quot;false&quot; /&gt; &lt;Calendar v-model="dates1" selectionMode="multiple" :manualInput="false" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Range&lt;/h3&gt; &lt;h3&gt;Range&lt;/h3&gt;
&lt;Calendar v-model=&quot;dates2&quot; selectionMode=&quot;range&quot; :manualInput=&quot;false&quot; /&gt; &lt;Calendar v-model="dates2" selectionMode="range" :manualInput="false" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Button Bar&lt;/h3&gt; &lt;h3&gt;Button Bar&lt;/h3&gt;
&lt;Calendar v-model=&quot;date7&quot; :showButtonBar=&quot;true&quot; /&gt; &lt;Calendar v-model="date7" :showButtonBar="true" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Time / 24h&lt;/h3&gt; &lt;h3&gt;Time / 24h&lt;/h3&gt;
&lt;Calendar v-model=&quot;date8&quot; :showTime=&quot;true&quot; :showSeconds=&quot;true&quot; /&gt; &lt;Calendar v-model="date8" :showTime="true" :showSeconds="true" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Time Only / 12h&lt;/h3&gt; &lt;h3&gt;Time Only / 12h&lt;/h3&gt;
&lt;Calendar v-model=&quot;date9&quot; :timeOnly=&quot;true&quot; hourFormat=&quot;12&quot; /&gt; &lt;Calendar v-model="date9" :timeOnly="true" hourFormat="12" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Month/Year Picker&lt;/h3&gt; &lt;h3&gt;Month/Year Picker&lt;/h3&gt;
&lt;Calendar v-model=&quot;date10&quot; view=&quot;month&quot; dateFormat=&quot;mm/yy&quot; :yearNavigator=&quot;true&quot; yearRange=&quot;2000:2030&quot; /&gt; &lt;Calendar v-model="date10" view="month" dateFormat="mm/yy" :yearNavigator="true" yearRange="2000:2030" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Multiple Months&lt;/h3&gt; &lt;h3&gt;Multiple Months&lt;/h3&gt;
&lt;Calendar v-model=&quot;date11&quot; :numberOfMonths=&quot;3&quot; /&gt; &lt;Calendar v-model="date11" :numberOfMonths="3" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Date Template&lt;/h3&gt; &lt;h3&gt;Date Template&lt;/h3&gt;
&lt;Calendar v-model=&quot;date12&quot;&gt; &lt;Calendar v-model="date12"&gt;
&lt;template #date=&quot;slotProps&quot;&gt; &lt;template #date="slotProps"&gt;
&lt;div v-if=&quot;slotProps.date.day &gt; 10 &amp;&amp; slotProps.date.day &lt; 15&quot; class=&quot;special-day&quot;&gt;{{slotProps.date.day}}&lt;/div&gt; &lt;div v-if="slotProps.date.day &gt; 10 &amp;&amp; slotProps.date.day &lt; 15" class="special-day"&gt;{{slotProps.date.day}}&lt;/div&gt;
&lt;span v-else&gt;{{slotProps.date.day}}&lt;/span&gt; &lt;span v-else&gt;{{slotProps.date.day}}&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Calendar&gt; &lt;/Calendar&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;h3&gt;Touch UI&lt;/h3&gt; &lt;h3&gt;Touch UI&lt;/h3&gt;
&lt;Calendar v-model=&quot;date13&quot; :touchUI=&quot;true&quot; /&gt; &lt;Calendar v-model="date13" :touchUI="true" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Inline&lt;/h3&gt; &lt;h3&gt;Inline&lt;/h3&gt;
&lt;Calendar v-model=&quot;date14&quot; :inline=&quot;true&quot; :showWeek=&quot;true&quot; /&gt; &lt;Calendar v-model="date14" :inline="true" :showWeek="true" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</template> </template>

View File

@ -62,38 +62,38 @@ import Card from 'primevue/card';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Card&lt;/h1&gt; &lt;h1&gt;Card&lt;/h1&gt;
&lt;p&gt;Card is a flexible container component.&lt;/p&gt; &lt;p&gt;Card is a flexible container component.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Card style=&quot;width: 25em; margin-bottom: 2em&quot;&gt; &lt;Card style="width: 25em; margin-bottom: 2em"&gt;
&lt;template slot=&quot;title&quot;&gt; &lt;template slot="title"&gt;
Simple Card Simple Card
&lt;/template&gt; &lt;/template&gt;
&lt;template slot=&quot;content&quot;&gt; &lt;template slot="content"&gt;
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas! quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
&lt;/template&gt; &lt;/template&gt;
&lt;/Card&gt; &lt;/Card&gt;
&lt;Card style=&quot;width: 25em&quot;&gt; &lt;Card style="width: 25em"&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;img alt=&quot;user header&quot; src=&quot;demo/images/usercard.png&quot;&gt; &lt;img alt="user header" src="demo/images/usercard.png"&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template slot=&quot;title&quot;&gt; &lt;template slot="title"&gt;
Advanced Card Advanced Card
&lt;/template&gt; &lt;/template&gt;
&lt;template slot=&quot;content&quot;&gt; &lt;template slot="content"&gt;
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas! quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
&lt;/template&gt; &lt;/template&gt;
&lt;template slot=&quot;footer&quot;&gt; &lt;template slot="footer"&gt;
&lt;Button icon=&quot;pi pi-check&quot; label=&quot;Save&quot; class=&quot;p-button-raised&quot; /&gt; &lt;Button icon="pi pi-check" label="Save" class="p-button-raised" /&gt;
&lt;Button icon=&quot;pi pi-times&quot; label=&quot;Cancel&quot; class=&quot;p-button-raised p-button-secondary&quot; style=&quot;margin-left: .5em&quot; /&gt; &lt;Button icon="pi pi-times" label="Cancel" class="p-button-raised p-button-secondary" style="margin-left: .5em" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Card&gt; &lt;/Card&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -6,25 +6,25 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;BarChart&lt;/h1&gt; &lt;h1&gt;BarChart&lt;/h1&gt;
&lt;p&gt;A bar chart or bar graph is a chart that presents grouped data with rectangular bars with lengths proportional to the values that they represent.&lt;/p&gt; &lt;p&gt;A bar chart or bar graph is a chart that presents grouped data with rectangular bars with lengths proportional to the values that they represent.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;vertical&quot;&gt;Vertical&lt;/h3&gt; &lt;h3 class="vertical"&gt;Vertical&lt;/h3&gt;
&lt;Chart type=&quot;bar&quot; :data=&quot;basicData&quot; /&gt; &lt;Chart type="bar" :data="basicData" /&gt;
&lt;h3&gt;Horizontal&lt;/h3&gt; &lt;h3&gt;Horizontal&lt;/h3&gt;
&lt;Chart type=&quot;horizontalBar&quot; :data=&quot;basicData&quot; /&gt; &lt;Chart type="horizontalBar" :data="basicData" /&gt;
&lt;h3&gt;Multi Axis&lt;/h3&gt; &lt;h3&gt;Multi Axis&lt;/h3&gt;
&lt;Chart type=&quot;bar&quot; :data=&quot;multiAxisData&quot; :options=&quot;multiAxisOptions&quot;/&gt; &lt;Chart type="bar" :data="multiAxisData" :options="multiAxisOptions"/&gt;
&lt;h3&gt;Stacked&lt;/h3&gt; &lt;h3&gt;Stacked&lt;/h3&gt;
&lt;Chart type=&quot;bar&quot; :data=&quot;stackedData&quot; :options=&quot;stackedOptions&quot;/&gt; &lt;Chart type="bar" :data="stackedData" :options="stackedOptions"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -11,7 +11,7 @@ import Chart from 'primevue/chart';
<h3>Data</h3> <h3>Data</h3>
<p>Data of a chart is provided using a binding to the <i>data</i> property, each type has its own format of data. Here is an example of a line chart.</p> <p>Data of a chart is provided using a binding to the <i>data</i> property, each type has its own format of data. Here is an example of a line chart.</p>
<CodeHighlight> <CodeHighlight>
&lt;Chart type=&quot;bar&quot; :data=&quot;basicData&quot; /&gt; &lt;Chart type="bar" :data="basicData" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -42,7 +42,7 @@ export default {
<p>While a series can be customized per dataset, general chart options are defined with options property. <p>While a series can be customized per dataset, general chart options are defined with options property.
Example below adds a title and customizes the legend position of the chart. For all available options refer to the charts.js documentation.</p> Example below adds a title and customizes the legend position of the chart. For all available options refer to the charts.js documentation.</p>
<CodeHighlight> <CodeHighlight>
&lt;Chart type=&quot;line&quot; :data=&quot;data&quot; :options=&quot;options&quot; /&gt; &lt;Chart type="line" :data="data" :options="options" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">

View File

@ -6,15 +6,15 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Combo Chart&lt;/h1&gt; &lt;h1&gt;Combo Chart&lt;/h1&gt;
&lt;p&gt;Different chart types can be combined in the same graph.&lt;/p&gt; &lt;p&gt;Different chart types can be combined in the same graph.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Chart type=&quot;bar&quot; :data=&quot;chartData&quot; :options=&quot;chartOptions&quot;/&gt; &lt;Chart type="bar" :data="chartData" :options="chartOptions"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -6,15 +6,15 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;DoughnutChart&lt;/h1&gt; &lt;h1&gt;DoughnutChart&lt;/h1&gt;
&lt;p&gt;A doughnut chart is a variant of the pie chart, with a blank center allowing for additional information about the data as a whole to be included.&lt;/p&gt; &lt;p&gt;A doughnut chart is a variant of the pie chart, with a blank center allowing for additional information about the data as a whole to be included.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Chart type=&quot;doughnut&quot; :data=&quot;chartData&quot; /&gt; &lt;Chart type="doughnut" :data="chartData" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -6,22 +6,22 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Line Chart&lt;/h1&gt; &lt;h1&gt;Line Chart&lt;/h1&gt;
&lt;p&gt;A line chart or line graph is a type of chart which displays information as a series of data points called 'markers' connected by straight line segments.&lt;/p&gt; &lt;p&gt;A line chart or line graph is a type of chart which displays information as a series of data points called 'markers' connected by straight line segments.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;Chart type=&quot;line&quot; :data=&quot;basicData&quot; /&gt; &lt;Chart type="line" :data="basicData" /&gt;
&lt;h3&gt;Multi Axis&lt;/h3&gt; &lt;h3&gt;Multi Axis&lt;/h3&gt;
&lt;Chart type=&quot;line&quot; :data=&quot;multiAxisData&quot; :options=&quot;multiAxisOptions&quot; /&gt; &lt;Chart type="line" :data="multiAxisData" :options="multiAxisOptions" /&gt;
&lt;h3&gt;Line Styles&lt;/h3&gt; &lt;h3&gt;Line Styles&lt;/h3&gt;
&lt;Chart type=&quot;line&quot; :data=&quot;lineStylesData&quot; /&gt; &lt;Chart type="line" :data="lineStylesData" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -6,15 +6,15 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Pie Chart&lt;/h1&gt; &lt;h1&gt;Pie Chart&lt;/h1&gt;
&lt;p&gt;A pie chart is a circular statistical graphic, which is divided into slices to illustrate numerical proportion.&lt;/p&gt; &lt;p&gt;A pie chart is a circular statistical graphic, which is divided into slices to illustrate numerical proportion.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Chart type=&quot;pie&quot; :data=&quot;chartData&quot; /&gt; &lt;Chart type="pie" :data="chartData" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -6,15 +6,15 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Polar Area Chart&lt;/h1&gt; &lt;h1&gt;Polar Area Chart&lt;/h1&gt;
&lt;p&gt;Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value.&lt;/p&gt; &lt;p&gt;Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Chart type=&quot;polarArea&quot; :data=&quot;chartData&quot; /&gt; &lt;Chart type="polarArea" :data="chartData" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -6,15 +6,15 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Radar Chart&lt;/h1&gt; &lt;h1&gt;Radar Chart&lt;/h1&gt;
&lt;p&gt;A radar chart is a graphical method of displaying multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point.&lt;/p&gt; &lt;p&gt;A radar chart is a graphical method of displaying multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Chart type=&quot;radar&quot; :data=&quot;chartData&quot; /&gt; &lt;Chart type="radar" :data="chartData" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,16 +10,16 @@ import Checkbox from 'primevue/checkbox';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Checkbox can either be used in multiple selection with other checkboxes or as a single checkbox to provide a boolean value.</p> <p>Checkbox can either be used in multiple selection with other checkboxes or as a single checkbox to provide a boolean value.</p>
<CodeHighlight> <CodeHighlight>
&lt;Checkbox v-model=&quot;checked&quot; :binary="true" /&gt; &lt;Checkbox v-model="checked" :binary="true" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Multiple Values</h3> <h3>Multiple Values</h3>
<p>Multiple mode is enabled by default, v-model property refers to an array to bind the selected values.</p> <p>Multiple mode is enabled by default, v-model property refers to an array to bind the selected values.</p>
<CodeHighlight> <CodeHighlight>
&lt;Checkbox id=&quot;city1&quot; inputId=&quot;city1&quot; name=&quot;city&quot; value=&quot;Chicago&quot; v-model=&quot;cities&quot; /&gt; &lt;Checkbox id="city1" inputId="city1" name="city" value="Chicago" v-model="cities" /&gt;
&lt;Checkbox id=&quot;city2&quot; inputId=&quot;city2&quot; name=&quot;city&quot; value=&quot;Los Angeles&quot; v-model=&quot;cities&quot; /&gt; &lt;Checkbox id="city2" inputId="city2" name="city" value="Los Angeles" v-model="cities" /&gt;
&lt;Checkbox id=&quot;city3&quot; inputId=&quot;city3&quot; name=&quot;city&quot; value=&quot;New York&quot; v-model=&quot;cities&quot; /&gt; &lt;Checkbox id="city3" inputId="city3" name="city" value="New York" v-model="cities" /&gt;
&lt;Checkbox id=&quot;city4&quot; inputId=&quot;city4&quot; name=&quot;city&quot; value=&quot;San Francisco&quot; v-model=&quot;cities&quot; /&gt; &lt;Checkbox id="city4" inputId="city4" name="city" value="San Francisco" v-model="cities" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -147,47 +147,47 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Checkbox&lt;/h1&gt; &lt;h1&gt;Checkbox&lt;/h1&gt;
&lt;p&gt;Checkbox is an extension to standard checkbox element with theming.&lt;/p&gt; &lt;p&gt;Checkbox is an extension to standard checkbox element with theming.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;Checkbox id=&quot;binary&quot; v-model=&quot;checked&quot; :binary="true"/&gt; &lt;Checkbox id="binary" v-model="checked" :binary="true"/&gt;
&lt;label for=&quot;binary&quot; class=&quot;p-checkbox-label&quot; style=&quot;font-weight: bold&quot;&gt;{{checked}}&lt;/label&gt; &lt;label for="binary" class="p-checkbox-label" style="font-weight: bold"&gt;{{checked}}&lt;/label&gt;
&lt;h3&gt;Multiple&lt;/h3&gt; &lt;h3&gt;Multiple&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;Checkbox id=&quot;city1&quot; name=&quot;city&quot; value=&quot;Chicago&quot; v-model=&quot;cities&quot; /&gt; &lt;Checkbox id="city1" name="city" value="Chicago" v-model="cities" /&gt;
&lt;label for=&quot;city1&quot; class=&quot;p-checkbox-label&quot;&gt;Chicago&lt;/label&gt; &lt;label for="city1" class="p-checkbox-label"&gt;Chicago&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;Checkbox id=&quot;city2&quot; name=&quot;city&quot; value=&quot;Los Angeles&quot; v-model=&quot;cities&quot; /&gt; &lt;Checkbox id="city2" name="city" value="Los Angeles" v-model="cities" /&gt;
&lt;label for=&quot;city2&quot; class=&quot;p-checkbox-label&quot;&gt;Los Angeles&lt;/label&gt; &lt;label for="city2" class="p-checkbox-label"&gt;Los Angeles&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;Checkbox id=&quot;city3&quot; name=&quot;city&quot; value=&quot;New York&quot; v-model=&quot;cities&quot; /&gt; &lt;Checkbox id="city3" name="city" value="New York" v-model="cities" /&gt;
&lt;label for=&quot;city3&quot; class=&quot;p-checkbox-label&quot;&gt;New York&lt;/label&gt; &lt;label for="city3" class="p-checkbox-label"&gt;New York&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;Checkbox id=&quot;city4&quot; name=&quot;city&quot; value=&quot;San Francisco&quot; v-model=&quot;cities&quot; /&gt; &lt;Checkbox id="city4" name="city" value="San Francisco" v-model="cities" /&gt;
&lt;label for=&quot;city4&quot; class=&quot;p-checkbox-label&quot;&gt;San Francisco&lt;/label&gt; &lt;label for="city4" class="p-checkbox-label"&gt;San Francisco&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;p&gt;Selected Cities : &lt;span style=&quot;font-weight: bold&quot;&gt;{{cities}}&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Selected Cities : &lt;span style="font-weight: bold"&gt;{{cities}}&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;Dynamic Values, Preselection, Value Binding and Disabled Option&lt;/h3&gt; &lt;h3&gt;Dynamic Values, Preselection, Value Binding and Disabled Option&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div v-for=&quot;theme of themes&quot; :key=&quot;theme.key&quot; class=&quot;p-col-12&quot;&gt; &lt;div v-for="theme of themes" :key="theme.key" class="p-col-12"&gt;
&lt;Checkbox :id=&quot;theme.key&quot; name=&quot;theme&quot; :value=&quot;theme&quot; v-model=&quot;selectedThemes&quot; :disabled=&quot;theme.key === 'U'&quot;/&gt; &lt;Checkbox :id="theme.key" name="theme" :value="theme" v-model="selectedThemes" :disabled="theme.key === 'U'"/&gt;
&lt;label :for=&quot;theme.key&quot; class=&quot;p-checkbox-label&quot;&gt;{{theme.name}}&lt;/label&gt; &lt;label :for="theme.key" class="p-checkbox-label"&gt;{{theme.name}}&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;p&gt;Selected Themes: &lt;span style=&quot;font-weight: bold&quot;&gt;{{this.selectedThemes}}&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Selected Themes: &lt;span style="font-weight: bold"&gt;{{this.selectedThemes}}&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,18 +10,18 @@ import Chips from 'primevue/chips';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>An array as the value can be bound using the standard v-model directive.</p> <p>An array as the value can be bound using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;Chips v-model=&quot;value&quot; /&gt; &lt;Chips v-model="value" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Custom Content</h3> <h3>Custom Content</h3>
<p>A chip is customized using the <i>chip</i> template where the chip value is passed to the slotProps with the value property.</p> <p>A chip is customized using the <i>chip</i> template where the chip value is passed to the slotProps with the value property.</p>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;Chips v-model=&quot;value&quot;&gt; &lt;Chips v-model="value"&gt;
&lt;template #chip=&quot;slotProps&quot;&gt; &lt;template #chip="slotProps"&gt;
&lt;div&gt; &lt;div&gt;
&lt;span&gt;{{slotProps.value}} - (active) &lt;/span&gt; &lt;span&gt;{{slotProps.value}} - (active) &lt;/span&gt;
&lt;i class=&quot;pi pi-user-plus&quot; style=&quot;font-size: 14px&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-user-plus" style="font-size: 14px"&gt;&lt;/i&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Chips&gt; &lt;/Chips&gt;
@ -146,23 +146,23 @@ import Chips from 'primevue/chips';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Chips&lt;/h1&gt; &lt;h1&gt;Chips&lt;/h1&gt;
&lt;p&gt;Chips is used to enter multiple values on an input field.&lt;/p&gt; &lt;p&gt;Chips is used to enter multiple values on an input field.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;Chips v-model=&quot;value1&quot; /&gt; &lt;Chips v-model="value1" /&gt;
&lt;h3&gt;Template&lt;/h3&gt; &lt;h3&gt;Template&lt;/h3&gt;
&lt;Chips v-model=&quot;value2&quot;&gt; &lt;Chips v-model="value2"&gt;
&lt;template #chip=&quot;slotProps&quot;&gt; &lt;template #chip="slotProps"&gt;
&lt;div&gt; &lt;div&gt;
&lt;span&gt;{{slotProps.value}} - (active) &lt;/span&gt; &lt;span&gt;{{slotProps.value}} - (active) &lt;/span&gt;
&lt;i class=&quot;pi pi-user-plus&quot; style=&quot;font-size: 14px&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-user-plus" style="font-size: 14px"&gt;&lt;/i&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Chips&gt; &lt;/Chips&gt;

View File

@ -32,32 +32,32 @@ mounted() {
<p>Note that there is no restriction to use both layouts at the same time, you may configure only one layout using the layout property with the corresponding template.</p> <p>Note that there is no restriction to use both layouts at the same time, you may configure only one layout using the layout property with the corresponding template.</p>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;template #listItem=&quot;slotProps&quot; &gt; &lt;template #listItem="slotProps" &gt;
&lt;div class=&quot;p-col-12 car-details&quot; style=&quot;padding: 2em; border-bottom: 1px solid #d9d9d9&quot;&gt; &lt;div class="p-col-12 car-details" style="padding: 2em; border-bottom: 1px solid #d9d9d9"&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12 p-md-3&quot;&gt; &lt;div class="p-col-12 p-md-3"&gt;
&lt;img :src=&quot;'/demo/images/car/' + slotProps.data.brand + '.png'&quot; :alt=&quot;slotProps.data.brand&quot;/&gt; &lt;img :src="'/demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-8 car-data&quot;&gt; &lt;div class="p-col-12 p-md-8 car-data"&gt;
&lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;Year: &lt;b&gt;{{slotProps.data.year}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Year: &lt;b&gt;{{slotProps.data.year}}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;Brand: &lt;b&gt;{{slotProps.data.brand}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Brand: &lt;b&gt;{{slotProps.data.brand}}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;Color: &lt;b&gt;{{slotProps.data.color}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Color: &lt;b&gt;{{slotProps.data.color}}&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-1 search-icon&quot; style=&quot;margin-top: 40px&quot;&gt; &lt;div class="p-col-12 p-md-1 search-icon" style="margin-top: 40px"&gt;
&lt;Button icon=&quot;pi pi-search&quot;&gt;&lt;/Button&gt; &lt;Button icon="pi pi-search"&gt;&lt;/Button&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #gridItem=&quot;slotProps&quot;&gt; &lt;template #gridItem="slotProps"&gt;
&lt;div style=&quot;padding: .5em&quot; class=&quot;p-col-12 p-md-3&quot;&gt; &lt;div style="padding: .5em" class="p-col-12 p-md-3"&gt;
&lt;Panel :header=&quot;slotProps.data.vin&quot; style=&quot;text-align: center&quot;&gt; &lt;Panel :header="slotProps.data.vin" style="text-align: center"&gt;
&lt;img :src=&quot;'/demo/images/car/' + slotProps.data.brand + '.png'&quot; :alt=&quot;slotProps.data.brand&quot;/&gt; &lt;img :src="'/demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand"/&gt;
&lt;div class=&quot;car-detail&quot;&gt;{{slotProps.data.year}} - {{slotProps.data.color}}&lt;/div&gt; &lt;div class="car-detail"&gt;{{slotProps.data.year}} - {{slotProps.data.color}}&lt;/div&gt;
&lt;hr class=&quot;ui-widget-content&quot; style=&quot;border-top: 0&quot; /&gt; &lt;hr class="ui-widget-content" style="border-top: 0" /&gt;
&lt;Button icon=&quot;pi pi-search&quot;&gt;&lt;/Button&gt; &lt;Button icon="pi pi-search"&gt;&lt;/Button&gt;
&lt;/Panel&gt; &lt;/Panel&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
@ -77,11 +77,11 @@ mounted() {
</p> </p>
<CodeHighlight> <CodeHighlight>
&lt;template #header&gt; &lt;template #header&gt;
&lt;DataViewLayoutOptions :layout=&quot;layout&quot; @change=&quot;changeMode&quot;&gt;&lt;/DataViewLayoutOptions&gt; &lt;DataViewLayoutOptions :layout="layout" @change="changeMode"&gt;&lt;/DataViewLayoutOptions&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #footer&gt; &lt;template #footer&gt;
&lt;DataViewLayoutOptions :layout=&quot;layout&quot; @change=&quot;changeMode&quot;&gt;&lt;/DataViewLayoutOptions&gt; &lt;DataViewLayoutOptions :layout="layout" @change="changeMode"&gt;&lt;/DataViewLayoutOptions&gt;
&lt;/template&gt; &lt;/template&gt;
</CodeHighlight> </CodeHighlight>
@ -90,20 +90,20 @@ mounted() {
of page links to display. To customize the left and right side of the paginators, use "paginatorLeft" and "paginatorRight" templates.</p> of page links to display. To customize the left and right side of the paginators, use "paginatorLeft" and "paginatorRight" templates.</p>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;DataView :value=&quot;cars&quot; :layout=&quot;layout&quot; paginatorPosition='both' :paginator=&quot;true&quot; :rows=&quot;20&quot;&gt; &lt;DataView :value="cars" :layout="layout" paginatorPosition='both' :paginator="true" :rows="20"&gt;
&lt;template #paginatorLeft&gt; &lt;template #paginatorLeft&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-refresh&quot;/&gt; &lt;Button type="button" icon="pi pi-refresh"/&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #paginatorRight&gt; &lt;template #paginatorRight&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-search&quot; /&gt; &lt;Button type="button" icon="pi pi-search" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #header&gt; &lt;template #header&gt;
List of Cars List of Cars
&lt;/template&gt; &lt;/template&gt;
&lt;template #listItem=&quot;slotProps&quot; &gt; &lt;template #listItem="slotProps" &gt;
&lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #gridItem=&quot;slotProps&quot;&gt; &lt;template #gridItem="slotProps"&gt;
&lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/DataView&gt; &lt;/DataView&gt;
@ -115,20 +115,20 @@ mounted() {
Here is an example that uses a dropdown where simply updating the sortField-sortOrder bindings of the DataView initiates sorting.</p> Here is an example that uses a dropdown where simply updating the sortField-sortOrder bindings of the DataView initiates sorting.</p>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;DataView :value=&quot;cars&quot; :layout=&quot;layout&quot; :sortOrder=&quot;sortOrder&quot; :sortField=&quot;sortField&quot;&gt; &lt;DataView :value="cars" :layout="layout" :sortOrder="sortOrder" :sortField="sortField"&gt;
&lt;template #paginatorLeft&gt; &lt;template #paginatorLeft&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-refresh&quot;/&gt; &lt;Button type="button" icon="pi pi-refresh"/&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #paginatorRight&gt; &lt;template #paginatorRight&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-search&quot; /&gt; &lt;Button type="button" icon="pi pi-search" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #header&gt; &lt;template #header&gt;
List of Cars List of Cars
&lt;/template&gt; &lt;/template&gt;
&lt;template #listItem=&quot;slotProps&quot; &gt; &lt;template #listItem="slotProps" &gt;
&lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #gridItem=&quot;slotProps&quot;&gt; &lt;template #gridItem="slotProps"&gt;
&lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/DataView&gt; &lt;/DataView&gt;
@ -342,52 +342,52 @@ mounted() {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;DataView&lt;/h1&gt; &lt;h1&gt;DataView&lt;/h1&gt;
&lt;p&gt;DataView displays data in grid or list layout with pagination and sorting features.&lt;/p&gt; &lt;p&gt;DataView displays data in grid or list layout with pagination and sorting features.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Default&lt;/h3&gt; &lt;h3 class="first"&gt;Default&lt;/h3&gt;
&lt;DataView :value=&quot;cars&quot; :layout=&quot;layout&quot; paginatorPosition='both' :paginator=&quot;true&quot; :rows=&quot;20&quot; :sortOrder=&quot;sortOrder&quot; :sortField=&quot;sortField&quot;&gt; &lt;DataView :value="cars" :layout="layout" paginatorPosition='both' :paginator="true" :rows="20" :sortOrder="sortOrder" :sortField="sortField"&gt;
&lt;template #header&gt; &lt;template #header&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-6&quot; style=&quot;text-align: left&quot;&gt; &lt;div class="p-col-6" style="text-align: left"&gt;
&lt;Dropdown v-model=&quot;sortKey&quot; :options=&quot;sortOptions&quot; optionLabel=&quot;label&quot; placeholder=&quot;Sort By&quot; @change=&quot;onSortChange($event)&quot;/&gt; &lt;Dropdown v-model="sortKey" :options="sortOptions" optionLabel="label" placeholder="Sort By" @change="onSortChange($event)"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-6&quot; style=&quot;text-align: right&quot;&gt; &lt;div class="p-col-6" style="text-align: right"&gt;
&lt;DataViewLayoutOptions :layout=&quot;layout&quot; @change=&quot;changeMode&quot;&gt;&lt;/DataViewLayoutOptions&gt; &lt;DataViewLayoutOptions :layout="layout" @change="changeMode"&gt;&lt;/DataViewLayoutOptions&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #listItem=&quot;slotProps&quot; &gt; &lt;template #listItem="slotProps" &gt;
&lt;div class=&quot;p-col-12 car-details&quot; style=&quot;padding: 2em; border-bottom: 1px solid #d9d9d9&quot;&gt; &lt;div class="p-col-12 car-details" style="padding: 2em; border-bottom: 1px solid #d9d9d9"&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12 p-md-3&quot;&gt; &lt;div class="p-col-12 p-md-3"&gt;
&lt;img :src=&quot;'/demo/images/car/' + slotProps.data.brand + '.png'&quot; :alt=&quot;slotProps.data.brand&quot;/&gt; &lt;img :src="'/demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-8 car-data&quot;&gt; &lt;div class="p-col-12 p-md-8 car-data"&gt;
&lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Vin: &lt;b&gt;{{slotProps.data.vin}}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;Year: &lt;b&gt;{{slotProps.data.year}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Year: &lt;b&gt;{{slotProps.data.year}}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;Brand: &lt;b&gt;{{slotProps.data.brand}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Brand: &lt;b&gt;{{slotProps.data.brand}}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;Color: &lt;b&gt;{{slotProps.data.color}}&lt;/b&gt;&lt;/div&gt; &lt;div&gt;Color: &lt;b&gt;{{slotProps.data.color}}&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-1 search-icon&quot; style=&quot;margin-top: 40px&quot;&gt; &lt;div class="p-col-12 p-md-1 search-icon" style="margin-top: 40px"&gt;
&lt;Button icon=&quot;pi pi-search&quot;&gt;&lt;/Button&gt; &lt;Button icon="pi pi-search"&gt;&lt;/Button&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #gridItem=&quot;slotProps&quot;&gt; &lt;template #gridItem="slotProps"&gt;
&lt;div style=&quot;padding: .5em&quot; class=&quot;p-col-12 p-md-3&quot;&gt; &lt;div style="padding: .5em" class="p-col-12 p-md-3"&gt;
&lt;Panel :header=&quot;slotProps.data.vin&quot; style=&quot;text-align: center&quot;&gt; &lt;Panel :header="slotProps.data.vin" style="text-align: center"&gt;
&lt;img :src=&quot;'/demo/images/car/' + slotProps.data.brand + '.png'&quot; :alt=&quot;slotProps.data.brand&quot;/&gt; &lt;img :src="'/demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand"/&gt;
&lt;div class=&quot;car-detail&quot;&gt;{{slotProps.data.year}} - {{slotProps.data.color}}&lt;/div&gt; &lt;div class="car-detail"&gt;{{slotProps.data.year}} - {{slotProps.data.color}}&lt;/div&gt;
&lt;hr class=&quot;ui-widget-content&quot; style=&quot;border-top: 0&quot; /&gt; &lt;hr class="ui-widget-content" style="border-top: 0" /&gt;
&lt;Button icon=&quot;pi pi-search&quot;&gt;&lt;/Button&gt; &lt;Button icon="pi pi-search"&gt;&lt;/Button&gt;
&lt;/Panel&gt; &lt;/Panel&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,7 +10,7 @@ import Dialog from 'primevue/dialog';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Dialog is used as a container and visibility is managed with <i>visible</i> property, use the sync operator for two-way binding.</p> <p>Dialog is used as a container and visibility is managed with <i>visible</i> property, use the sync operator for two-way binding.</p>
<CodeHighlight> <CodeHighlight>
&lt;Dialog header=&quot;Godfather I&quot; :visible.sync=&quot;display&quot; &gt; &lt;Dialog header="Godfather I" :visible.sync="display" &gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
@ -30,11 +30,11 @@ export default {
<h3>Header and Footer</h3> <h3>Header and Footer</h3>
<p>Header and Footer sections are defined using properties with the same name that accept simple strings or slots for custom content.</p> <p>Header and Footer sections are defined using properties with the same name that accept simple strings or slots for custom content.</p>
<CodeHighlight> <CodeHighlight>
&lt;Dialog header=&quot;Godfather I&quot; :visible.sync=&quot;display&quot;&gt; &lt;Dialog header="Godfather I" :visible.sync="display"&gt;
Content Content
&lt;template slot=&quot;footer&quot;&gt; &lt;template slot="footer"&gt;
&lt;Button label=&quot;Yes&quot; icon=&quot;pi pi-check&quot; /&gt; &lt;Button label="Yes" icon="pi pi-check" /&gt;
&lt;Button label=&quot;No&quot; icon=&quot;pi pi-times&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button label="No" icon="pi pi-times" class="p-button-secondary"/&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Dialog&gt; &lt;/Dialog&gt;
</CodeHighlight> </CodeHighlight>
@ -194,23 +194,23 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Dialog&lt;/h1&gt; &lt;h1&gt;Dialog&lt;/h1&gt;
&lt;p&gt;Dialog is a container to display content in an overlay window.&lt;/p&gt; &lt;p&gt;Dialog is a container to display content in an overlay window.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Button label=&quot;Show&quot; icon=&quot;pi pi-external-link&quot; @click=&quot;open&quot; /&gt; &lt;Button label="Show" icon="pi pi-external-link" @click="open" /&gt;
&lt;Dialog header=&quot;Godfather I&quot; :visible.sync=&quot;display&quot; :style=&quot;{width: '50vw'}&quot; :modal=&quot;true&quot;&gt; &lt;Dialog header="Godfather I" :visible.sync="display" :style="{width: '50vw'}" :modal="true"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;template slot=&quot;footer&quot;&gt; &lt;template slot="footer"&gt;
&lt;Button label=&quot;Yes&quot; icon=&quot;pi pi-check&quot; @click=&quot;close&quot; /&gt; &lt;Button label="Yes" icon="pi pi-check" @click="close" /&gt;
&lt;Button label=&quot;No&quot; icon=&quot;pi pi-times&quot; @click=&quot;close&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button label="No" icon="pi pi-times" @click="close" class="p-button-secondary"/&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Dialog&gt; &lt;/Dialog&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -10,7 +10,7 @@ import Dropdown from 'primevue/dropdown';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Dropdown 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> <p>Dropdown 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> <CodeHighlight>
&lt;Dropdown v-model=&quot;selectedCity&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; placeholder=&quot;Select a City&quot; /&gt; &lt;Dropdown v-model="selectedCity" :options="cities" optionLabel="name" placeholder="Select a City" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -35,17 +35,17 @@ data() {
<p>Options can be filtered using an input field in the overlay by enabling the <i>filter</i> property.</p> <p>Options can be filtered using an input field in the overlay by enabling the <i>filter</i> property.</p>
<CodeHighlight> <CodeHighlight>
&lt;Dropdown v-model=&quot;selectedCar&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot; placeholder=&quot;Select a Car&quot; :filter=&quot;true&quot; filterPlaceholder=&quot;Find Car&quot;/&gt; &lt;Dropdown v-model="selectedCar" :options="cars" optionLabel="brand" placeholder="Select a Car" :filter="true" filterPlaceholder="Find Car"/&gt;
</CodeHighlight> </CodeHighlight>
<h3>Custom Content</h3> <h3>Custom Content</h3>
<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> <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> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;Dropdown v-model=&quot;selectedCar&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot; placeholder=&quot;Select a Car&quot; :filter=&quot;true&quot; :showClear=&quot;true&quot;&gt; &lt;Dropdown v-model="selectedCar" :options="cars" optionLabel="brand" placeholder="Select a Car" :filter="true" :showClear="true"&gt;
&lt;template #option=&quot;slotProps&quot;&gt; &lt;template #option="slotProps"&gt;
&lt;div class=&quot;p-clearfix p-dropdown-car-option&quot;&gt; &lt;div class="p-clearfix p-dropdown-car-option"&gt;
&lt;img :alt=&quot;slotProps.option.brand&quot; :src=&quot;'/demo/images/car/' + slotProps.option.brand + '.png'&quot; /&gt; &lt;img :alt="slotProps.option.brand" :src="'/demo/images/car/' + slotProps.option.brand + '.png'" /&gt;
&lt;span&gt;{{slotProps.option.brand}}&lt;/span&gt; &lt;span&gt;{{slotProps.option.brand}}&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
@ -247,25 +247,25 @@ data() {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Dropdown&lt;/h1&gt; &lt;h1&gt;Dropdown&lt;/h1&gt;
&lt;p&gt;Dropdown is used to select an item from a list of options.&lt;/p&gt; &lt;p&gt;Dropdown is used to select an item from a list of options.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;Dropdown v-model=&quot;selectedCity1&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; placeholder=&quot;Select a City&quot; /&gt; &lt;Dropdown v-model="selectedCity1" :options="cities" optionLabel="name" placeholder="Select a City" /&gt;
&lt;h3&gt;Editable&lt;/h3&gt; &lt;h3&gt;Editable&lt;/h3&gt;
&lt;Dropdown v-model=&quot;selectedCity2&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; :editable=&quot;true&quot;/&gt; &lt;Dropdown v-model="selectedCity2" :options="cities" optionLabel="name" :editable="true"/&gt;
&lt;h3&gt;Advanced with Templating, Filtering and Clear Icon&lt;/h3&gt; &lt;h3&gt;Advanced with Templating, Filtering and Clear Icon&lt;/h3&gt;
&lt;Dropdown v-model=&quot;selectedCar&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot; placeholder=&quot;Select a Car&quot; :filter=&quot;true&quot; :showClear=&quot;true&quot;&gt; &lt;Dropdown v-model="selectedCar" :options="cars" optionLabel="brand" placeholder="Select a Car" :filter="true" :showClear="true"&gt;
&lt;template #option=&quot;slotProps&quot;&gt; &lt;template #option="slotProps"&gt;
&lt;div class=&quot;p-clearfix p-dropdown-car-option&quot;&gt; &lt;div class="p-clearfix p-dropdown-car-option"&gt;
&lt;img :alt=&quot;slotProps.option.brand&quot; :src=&quot;'/demo/images/car/' + slotProps.option.brand + '.png'&quot; /&gt; &lt;img :alt="slotProps.option.brand" :src="'/demo/images/car/' + slotProps.option.brand + '.png'" /&gt;
&lt;span&gt;{{slotProps.option.brand}}&lt;/span&gt; &lt;span&gt;{{slotProps.option.brand}}&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,18 +10,18 @@ import Editor from 'primevue/editor';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>A model can be bound using the standard v-model directive.</p> <p>A model can be bound using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;Editor v-model=&quot;value&quot; editorStyle=&quot;height: 320px&quot;/&gt; &lt;Editor v-model="value" editorStyle="height: 320px"/&gt;
</CodeHighlight> </CodeHighlight>
<h3>Toolbar</h3> <h3>Toolbar</h3>
<p>Editor provides a default toolbar with common options, to customize it define your elements inside the header element. Refer to <a href="http://quilljs.com/docs/modules/toolbar/">Quill documentation</a> for available controls.</p> <p>Editor provides a default toolbar with common options, to customize it define your elements inside the header element. Refer to <a href="http://quilljs.com/docs/modules/toolbar/">Quill documentation</a> for available controls.</p>
<CodeHighlight> <CodeHighlight>
&lt;Editor v-model=&quot;value&quot; editorStyle=&quot;height: 320px&quot;&gt; &lt;Editor v-model="value" editorStyle="height: 320px"&gt;
&lt;template slot=&quot;toolbar&quot;&gt; &lt;template slot="toolbar"&gt;
&lt;span class=&quot;ql-formats&quot;&gt; &lt;span class="ql-formats"&gt;
&lt;button class=&quot;ql-bold&quot;&gt;&lt;/button&gt; &lt;button class="ql-bold"&gt;&lt;/button&gt;
&lt;button class=&quot;ql-italic&quot;&gt;&lt;/button&gt; &lt;button class="ql-italic"&gt;&lt;/button&gt;
&lt;button class=&quot;ql-underline&quot;&gt;&lt;/button&gt; &lt;button class="ql-underline"&gt;&lt;/button&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Editor&gt; &lt;/Editor&gt;
@ -146,24 +146,24 @@ npm install quill --save
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Editor&lt;/h1&gt; &lt;h1&gt;Editor&lt;/h1&gt;
&lt;p&gt;Editor is rich text editor component based on Quill.&lt;/p&gt; &lt;p&gt;Editor is rich text editor component based on Quill.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Default&lt;/h3&gt; &lt;h3 class="first"&gt;Default&lt;/h3&gt;
&lt;Editor v-model=&quot;value1&quot; editorStyle=&quot;height: 320px&quot;/&gt; &lt;Editor v-model="value1" editorStyle="height: 320px"/&gt;
&lt;h3&gt;Customized&lt;/h3&gt; &lt;h3&gt;Customized&lt;/h3&gt;
&lt;Editor v-model=&quot;value2&quot; editorStyle=&quot;height: 320px&quot;&gt; &lt;Editor v-model="value2" editorStyle="height: 320px"&gt;
&lt;template slot=&quot;toolbar&quot;&gt; &lt;template slot="toolbar"&gt;
&lt;span class=&quot;ql-formats&quot;&gt; &lt;span class="ql-formats"&gt;
&lt;button class=&quot;ql-bold&quot;&gt;&lt;/button&gt; &lt;button class="ql-bold"&gt;&lt;/button&gt;
&lt;button class=&quot;ql-italic&quot;&gt;&lt;/button&gt; &lt;button class="ql-italic"&gt;&lt;/button&gt;
&lt;button class=&quot;ql-underline&quot;&gt;&lt;/button&gt; &lt;button class="ql-underline"&gt;&lt;/button&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Editor&gt; &lt;/Editor&gt;

View File

@ -10,7 +10,7 @@ import Fieldset from 'primevue/fieldset';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Fieldset is a container component that accepts content as its children.</p> <p>Fieldset is a container component that accepts content as its children.</p>
<CodeHighlight> <CodeHighlight>
&lt;Fieldset legend=&quot;Godfather I&quot;&gt; &lt;Fieldset legend="Godfather I"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
@ -21,7 +21,7 @@ import Fieldset from 'primevue/fieldset';
<h3>Toggleable</h3> <h3>Toggleable</h3>
<p>Content of the fieldset can be expanded and collapsed using <i>toggleable</i> option..</p> <p>Content of the fieldset can be expanded and collapsed using <i>toggleable</i> option..</p>
<CodeHighlight> <CodeHighlight>
&lt;Fieldset legend=&quot;Godfather I&quot; :toggleable=&quot;true&quot;&gt; &lt;Fieldset legend="Godfather I" :toggleable="true"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
@ -128,16 +128,16 @@ import Fieldset from 'primevue/fieldset';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Fieldset&lt;/h1&gt; &lt;h1&gt;Fieldset&lt;/h1&gt;
&lt;p&gt;Fieldset is a grouping component with the optional content toggle feature.&lt;/p&gt; &lt;p&gt;Fieldset is a grouping component with the optional content toggle feature.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Regular&lt;/h3&gt; &lt;h3 class="first"&gt;Regular&lt;/h3&gt;
&lt;Fieldset legend=&quot;Godfather I&quot;&gt; &lt;Fieldset legend="Godfather I"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
@ -145,7 +145,7 @@ import Fieldset from 'primevue/fieldset';
&lt;/Fieldset&gt; &lt;/Fieldset&gt;
&lt;h3&gt;Toggleable&lt;/h3&gt; &lt;h3&gt;Toggleable&lt;/h3&gt;
&lt;Fieldset legend=&quot;Godfather I&quot; :toggleable=&quot;true&quot;&gt; &lt;Fieldset legend="Godfather I" :toggleable="true"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,

View File

@ -10,19 +10,19 @@ import FileUpload from 'primevue/fileupload';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>FileUpload requires a <i>url</i> property as the upload target and a <i>name</i> to identify the files at backend.</p> <p>FileUpload requires a <i>url</i> property as the upload target and a <i>name</i> to identify the files at backend.</p>
<CodeHighlight> <CodeHighlight>
&lt;FileUpload name=&quot;demo[]&quot; url=&quot;./upload&quot; /&gt; &lt;FileUpload name="demo[]" url="./upload" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Multiple Uploads</h3> <h3>Multiple Uploads</h3>
<p>Only one file can be selected at a time by default, to allow selecting multiple files at once enable <i>multiple</i> option.</p> <p>Only one file can be selected at a time by default, to allow selecting multiple files at once enable <i>multiple</i> option.</p>
<CodeHighlight> <CodeHighlight>
&lt;FileUpload name=&quot;demo[]&quot; url=&quot;./upload&quot; :multiple=&quot;true&quot; /&gt; &lt;FileUpload name="demo[]" url="./upload" :multiple="true" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Basic UI</h3> <h3>Basic UI</h3>
<p>FileUpload basic mode provides a simpler UI as an alternative to advanced mode.</p> <p>FileUpload basic mode provides a simpler UI as an alternative to advanced mode.</p>
<CodeHighlight> <CodeHighlight>
&lt;FileUpload mode=&quot;basic&quot; name=&quot;demo[]&quot; url=&quot;./upload&quot; /&gt; &lt;FileUpload mode="basic" name="demo[]" url="./upload" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>DragDrop</h3> <h3>DragDrop</h3>
@ -31,19 +31,19 @@ import FileUpload from 'primevue/fileupload';
<h3>Auto Uploads</h3> <h3>Auto Uploads</h3>
<p>When <i>auto</i> property is enabled, upload begins as soon as file selection is completed or a file is dropped on the drop area.</p> <p>When <i>auto</i> property is enabled, upload begins as soon as file selection is completed or a file is dropped on the drop area.</p>
<CodeHighlight> <CodeHighlight>
&lt;FileUpload mode=&quot;basic&quot; name=&quot;demo[]&quot; url=&quot;./upload&quot; :auto=&quot;true&quot; /&gt; &lt;FileUpload mode="basic" name="demo[]" url="./upload" :auto="true" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>File Types</h3> <h3>File Types</h3>
<p>Selectable file types can be restricted with <i>accept</i> property, example below only allows images to be uploaded. Read more about other possible values <a href="https://www.w3schools.com/tags/att_input_accept.asp"> here</a>.</p> <p>Selectable file types can be restricted with <i>accept</i> property, example below only allows images to be uploaded. Read more about other possible values <a href="https://www.w3schools.com/tags/att_input_accept.asp"> here</a>.</p>
<CodeHighlight> <CodeHighlight>
&lt;FileUpload mode=&quot;basic&quot; name=&quot;demo[]&quot; url=&quot;./upload&quot; accept=&quot;image/*&quot; /&gt; &lt;FileUpload mode="basic" name="demo[]" url="./upload" accept="image/*" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>File Size</h3> <h3>File Size</h3>
<p>Maximium file size can be restricted using <i>maxFileSize</i> property defined in bytes.</p> <p>Maximium file size can be restricted using <i>maxFileSize</i> property defined in bytes.</p>
<CodeHighlight> <CodeHighlight>
&lt;FileUpload name=&quot;demo[]&quot; url=&quot;./upload&quot; :maxFileSize=&quot;1000000&quot; /&gt; &lt;FileUpload name="demo[]" url="./upload" :maxFileSize="1000000" /&gt;
</CodeHighlight> </CodeHighlight>
<p>In order to customize the default messages use <i>invalidFileSizeMessage</i> option. In messages, {0} placeholder refers to the filename and in detail message, the file size.</p> <p>In order to customize the default messages use <i>invalidFileSizeMessage</i> option. In messages, {0} placeholder refers to the filename and in detail message, the file size.</p>
@ -253,22 +253,22 @@ import FileUpload from 'primevue/fileupload';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;FileUpload&lt;/h1&gt; &lt;h1&gt;FileUpload&lt;/h1&gt;
&lt;p&gt;FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.&lt;/p&gt; &lt;p&gt;FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3&gt;Advanced&lt;/h3&gt; &lt;h3&gt;Advanced&lt;/h3&gt;
&lt;FileUpload name=&quot;demo[]&quot; url=&quot;http://192.168.1.110:4000/upload&quot; @upload=&quot;onUpload&quot; :multiple=&quot;true&quot; accept=&quot;image/*&quot; :maxFileSize=&quot;1000000&quot; /&gt; &lt;FileUpload name="demo[]" url="http://192.168.1.110:4000/upload" @upload="onUpload" :multiple="true" accept="image/*" :maxFileSize="1000000" /&gt;
&lt;h3&gt;Basic&lt;/h3&gt; &lt;h3&gt;Basic&lt;/h3&gt;
&lt;FileUpload mode=&quot;basic&quot; name=&quot;demo[]&quot; url=&quot;http://192.168.1.110:4000/upload&quot; accept=&quot;image/*&quot; :maxFileSize=&quot;1000000&quot; @upload=&quot;onUpload&quot; /&gt; &lt;FileUpload mode="basic" name="demo[]" url="http://192.168.1.110:4000/upload" accept="image/*" :maxFileSize="1000000" @upload="onUpload" /&gt;
&lt;h3&gt;Basic with Auto&lt;/h3&gt; &lt;h3&gt;Basic with Auto&lt;/h3&gt;
&lt;FileUpload mode=&quot;basic&quot; name=&quot;demo[]&quot; url=&quot;http://192.168.1.110:4000/upload&quot; accept=&quot;image/*&quot; :maxFileSize=&quot;1000000&quot; @upload=&quot;onUpload&quot; :auto=&quot;true&quot; chooseLabel=&quot;Browse&quot; /&gt; &lt;FileUpload mode="basic" name="demo[]" url="http://192.168.1.110:4000/upload" accept="image/*" :maxFileSize="1000000" @upload="onUpload" :auto="true" chooseLabel="Browse" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -6,10 +6,10 @@
<p>FlexGrid is a CSS utility based on flexbox. For more information about Flex, visit <a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">A Complete Guide to Flexbox</a>. A basic grid is defined by giving <p>FlexGrid is a CSS utility based on flexbox. For more information about Flex, visit <a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">A Complete Guide to Flexbox</a>. A basic grid is defined by giving
a container <i>p-grid</i> class and children the <i>p-col</i> class. Children of the grid will have the same width and scale according to the width of the parent.</p> a container <i>p-grid</i> class and children the <i>p-col</i> class. Children of the grid will have the same width and scale according to the width of the parent.</p>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;2&lt;/div&gt; &lt;div class="p-col"&gt;2&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;3&lt;/div&gt; &lt;div class="p-col"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -29,24 +29,24 @@
<p>Default direction is <b>row</b> and <i>p-dir-*</i> class at the container defines the other possible directions which can be <b>row reverse</b>, <b>column</b> and <b>column reverse</b></p> <p>Default direction is <b>row</b> and <i>p-dir-*</i> class at the container defines the other possible directions which can be <b>row reverse</b>, <b>column</b> and <b>column reverse</b></p>
<CodeHighlight> <CodeHighlight>
<!-- Row Reverse --> <!-- Row Reverse -->
&lt;div class=&quot;p-grid p-dir-rev&quot;&gt; &lt;div class="p-grid p-dir-rev"&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;2&lt;/div&gt; &lt;div class="p-col"&gt;2&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;3&lt;/div&gt; &lt;div class="p-col"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
<!-- Column --> <!-- Column -->
&lt;div class=&quot;p-grid p-dir-col&quot;&gt; &lt;div class="p-grid p-dir-col"&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;2&lt;/div&gt; &lt;div class="p-col"&gt;2&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;3&lt;/div&gt; &lt;div class="p-col"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
<!-- Column Reverse --> <!-- Column Reverse -->
&lt;div class=&quot;p-grid p-dir-col-rev&quot;&gt; &lt;div class="p-grid p-dir-col-rev"&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;2&lt;/div&gt; &lt;div class="p-col"&gt;2&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;3&lt;/div&gt; &lt;div class="p-col"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -90,22 +90,22 @@
<p>In the first example below, first column covers the 4 units out of 12 and the rest of the columns share the remaining space whereas in the second example, all three columns have explicit units.</p> <p>In the first example below, first column covers the 4 units out of 12 and the rest of the columns share the remaining space whereas in the second example, all three columns have explicit units.</p>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-4&quot;&gt;4&lt;/div&gt; &lt;div class="p-col-4"&gt;4&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-2&quot;&gt;2&lt;/div&gt; &lt;div class="p-col-2"&gt;2&lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt;6&lt;/div&gt; &lt;div class="p-col-6"&gt;6&lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt;4&lt;/div&gt; &lt;div class="p-col-4"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -154,11 +154,11 @@
<h3>MultiLine</h3> <h3>MultiLine</h3>
<p>When the number of columns exceed 12, columns wrap to a new line.</p> <p>When the number of columns exceed 12, columns wrap to a new line.</p>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-6&quot;&gt;6&lt;/div&gt; &lt;div class="p-col-6"&gt;6&lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt;6&lt;/div&gt; &lt;div class="p-col-6"&gt;6&lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt;6&lt;/div&gt; &lt;div class="p-col-6"&gt;6&lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt;6&lt;/div&gt; &lt;div class="p-col-6"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -180,9 +180,9 @@
<h3>Fixed Width Column</h3> <h3>Fixed Width Column</h3>
<p>A column can have a fixed width while siblings having auto width. Apply <i>p-col-fixed</i> class to fix a column width.</p> <p>A column can have a fixed width while siblings having auto width. Apply <i>p-col-fixed</i> class to fix a column width.</p>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-fixed&quot; style=&quot;width:100px&quot;&gt;Fixed&lt;/div&gt; &lt;div class="p-col-fixed" style="width:100px"&gt;Fixed&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;Auto&lt;/div&gt; &lt;div class="p-col"&gt;Auto&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -237,11 +237,11 @@
<p>In example below, large screens display 4 columns, medium screens display 2 columns in 2 rows and finally on small devices, columns are stacked.</p> <p>In example below, large screens display 4 columns, medium screens display 2 columns in 2 rows and finally on small devices, columns are stacked.</p>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12 p-md-6 p-lg-3&quot;&gt;A&lt;/div&gt; &lt;div class="p-col-12 p-md-6 p-lg-3"&gt;A&lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6 p-lg-3&quot;&gt;B&lt;/div&gt; &lt;div class="p-col-12 p-md-6 p-lg-3"&gt;B&lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6 p-lg-3&quot;&gt;C&lt;/div&gt; &lt;div class="p-col-12 p-md-6 p-lg-3"&gt;C&lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6 p-lg-3&quot;&gt;D&lt;/div&gt; &lt;div class="p-col-12 p-md-6 p-lg-3"&gt;D&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -299,10 +299,10 @@
</table> </table>
</div> </div>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid p-justify-between&quot;&gt; &lt;div class="p-grid p-justify-between"&gt;
&lt;div class=&quot;p-col-2&quot;&gt;2&lt;/div&gt; &lt;div class="p-col-2"&gt;2&lt;/div&gt;
&lt;div class=&quot;p-col-1&quot;&gt;1&lt;/div&gt; &lt;div class="p-col-1"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt;4&lt;/div&gt; &lt;div class="p-col-4"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -353,10 +353,10 @@
</table> </table>
</div> </div>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid p-align-center&quot;&gt; &lt;div class="p-grid p-align-center"&gt;
&lt;div class=&quot;p-col&quot;&gt;4&lt;/div&gt; &lt;div class="p-col"&gt;4&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;4&lt;/div&gt; &lt;div class="p-col"&gt;4&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;4&lt;/div&gt; &lt;div class="p-col"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -405,10 +405,10 @@
</table> </table>
</div> </div>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col p-col-align-start&quot;&gt;4&lt;/div&gt; &lt;div class="p-col p-col-align-start"&gt;4&lt;/div&gt;
&lt;div class=&quot;p-col p-col-align-center&quot;&gt;4&lt;/div&gt; &lt;div class="p-col p-col-align-center"&gt;4&lt;/div&gt;
&lt;div class=&quot;p-col p-col-align-end&quot;&gt;4&lt;/div&gt; &lt;div class="p-col p-col-align-end"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -427,13 +427,13 @@
<h3>Offset</h3> <h3>Offset</h3>
<p>Offset classes allow defining a left margin on a column to avoid adding empty columns for spacing.</p> <p>Offset classes allow defining a left margin on a column to avoid adding empty columns for spacing.</p>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-6 p-offset-3&quot;&gt;6&lt;/div&gt; &lt;div class="p-col-6 p-offset-3"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-4&quot;&gt;4&lt;/div&gt; &lt;div class="p-col-4"&gt;4&lt;/div&gt;
&lt;div class=&quot;p-col-4 p-offset-4&quot;&gt;4&lt;/div&gt; &lt;div class="p-col-4 p-offset-4"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -500,21 +500,21 @@
<h3>Nested</h3> <h3>Nested</h3>
<p>Columns can be nested to create more complex layouts.</p> <p>Columns can be nested to create more complex layouts.</p>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid nested-grid&quot;&gt; &lt;div class="p-grid nested-grid"&gt;
&lt;div class=&quot;p-col-8&quot;&gt; &lt;div class="p-col-8"&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
6 6
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
6 6
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
12 12
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
4 4
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
@ -544,10 +544,10 @@
<i>p-nogutter</i> class to the container. Gutters can also be removed on an ndividual columns with the same class name. <i>p-nogutter</i> class to the container. Gutters can also be removed on an ndividual columns with the same class name.
</p> </p>
<CodeHighlight> <CodeHighlight>
&lt;div class=&quot;p-grid p-nogutter&quot;&gt; &lt;div class="p-grid p-nogutter"&gt;
&lt;div class=&quot;p-col&quot;&gt;1&lt;/div&gt; &lt;div class="p-col"&gt;1&lt;/div&gt;
&lt;div class=&quot;p-col p-nogutter&quot;&gt;2&lt;/div&gt; &lt;div class="p-col p-nogutter"&gt;2&lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt;3&lt;/div&gt; &lt;div class="p-col"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
</CodeHighlight> </CodeHighlight>
@ -564,375 +564,375 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;FlexGrid&lt;/h1&gt; &lt;h1&gt;FlexGrid&lt;/h1&gt;
&lt;p&gt;Flex Grid CSS is a lightweight flex based responsive layout utility optimized for mobile phones, tablets and desktops. &lt;p&gt;Flex Grid CSS is a lightweight flex based responsive layout utility optimized for mobile phones, tablets and desktops.
Flex Grid CSS is not included in PrimeReact as it is provided by &lt;a href=&quot;https://github.com/primefaces/primeflex&quot;&gt;PrimeFlex&lt;/a&gt; , a shared grid library between PrimeFaces, PrimeNG, PrimeReact and PrimeVue projects.&lt;/p&gt; Flex Grid CSS is not included in PrimeReact as it is provided by &lt;a href="https://github.com/primefaces/primeflex"&gt;PrimeFlex&lt;/a&gt; , a shared grid library between PrimeFaces, PrimeNG, PrimeReact and PrimeVue projects.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation flexgrid-demo&quot;&gt; &lt;div class="content-section implementation flexgrid-demo"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;3&lt;/div&gt; &lt;div class="box"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Dynamic&lt;/h3&gt; &lt;h3&gt;Dynamic&lt;/h3&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-plus&quot; title=&quot;Add Column&quot; @click=&quot;addColumn&quot; :disabled=&quot;columns.length === 20&quot; style=&quot;margin-right: .5em&quot; /&gt; &lt;Button type="button" icon="pi pi-plus" title="Add Column" @click="addColumn" :disabled="columns.length === 20" style="margin-right: .5em" /&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-minus&quot; title=&quot;Remove Column&quot; @click=&quot;removeColumn&quot; :disabled=&quot;columns.length === 1&quot; /&gt; &lt;Button type="button" icon="pi pi-minus" title="Remove Column" @click="removeColumn" :disabled="columns.length === 1" /&gt;
&lt;div style=&quot;margin-top: .5em&quot;&gt; &lt;div style="margin-top: .5em"&gt;
&lt;transition-group name=&quot;dynamic-box&quot; tag=&quot;div&quot; class=&quot;p-grid&quot;&gt; &lt;transition-group name="dynamic-box" tag="div" class="p-grid"&gt;
&lt;div v-for=&quot;col of columns&quot; :key=&quot;col&quot; class=&quot;p-col&quot;&gt; &lt;div v-for="col of columns" :key="col" class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;{{col}}&lt;/div&gt; &lt;div class="box"&gt;{{col}}&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/transition-group&gt; &lt;/transition-group&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Reverse Direction&lt;/h3&gt; &lt;h3&gt;Reverse Direction&lt;/h3&gt;
&lt;div class=&quot;p-grid p-dir-rev&quot;&gt; &lt;div class="p-grid p-dir-rev"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;3&lt;/div&gt; &lt;div class="box"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Column Direction&lt;/h3&gt; &lt;h3&gt;Column Direction&lt;/h3&gt;
&lt;div class=&quot;p-grid p-dir-col&quot;&gt; &lt;div class="p-grid p-dir-col"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;3&lt;/div&gt; &lt;div class="box"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Reverse Column Direction&lt;/h3&gt; &lt;h3&gt;Reverse Column Direction&lt;/h3&gt;
&lt;div class=&quot;p-grid p-dir-col-rev&quot;&gt; &lt;div class="p-grid p-dir-col-rev"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;3&lt;/div&gt; &lt;div class="box"&gt;3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;12 Column Grid&lt;/h3&gt; &lt;h3&gt;12 Column Grid&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
&lt;div class=&quot;box&quot;&gt;6&lt;/div&gt; &lt;div class="box"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-8&quot;&gt; &lt;div class="p-col-8"&gt;
&lt;div class=&quot;box&quot;&gt;8&lt;/div&gt; &lt;div class="box"&gt;8&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;MultiLine&lt;/h3&gt; &lt;h3&gt;MultiLine&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
&lt;div class=&quot;box&quot;&gt;6&lt;/div&gt; &lt;div class="box"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
&lt;div class=&quot;box&quot;&gt;6&lt;/div&gt; &lt;div class="box"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
&lt;div class=&quot;box&quot;&gt;6&lt;/div&gt; &lt;div class="box"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
&lt;div class=&quot;box&quot;&gt;6&lt;/div&gt; &lt;div class="box"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Fixed Width Column&lt;/h3&gt; &lt;h3&gt;Fixed Width Column&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-fixed&quot; style=&quot;width:100px&quot;&gt; &lt;div class="p-col-fixed" style="width:100px"&gt;
&lt;div class=&quot;box&quot;&gt;100px&lt;/div&gt; &lt;div class="box"&gt;100px&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;auto&lt;/div&gt; &lt;div class="box"&gt;auto&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Responsive&lt;/h3&gt; &lt;h3&gt;Responsive&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12 p-md-6 p-lg-3&quot;&gt; &lt;div class="p-col-12 p-md-6 p-lg-3"&gt;
&lt;div class=&quot;box&quot;&gt;p-col-12 p-md-6 p-lg-3&lt;/div&gt; &lt;div class="box"&gt;p-col-12 p-md-6 p-lg-3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6 p-lg-3&quot;&gt; &lt;div class="p-col-12 p-md-6 p-lg-3"&gt;
&lt;div class=&quot;box&quot;&gt;p-col-12 p-md-6 p-lg-3&lt;/div&gt; &lt;div class="box"&gt;p-col-12 p-md-6 p-lg-3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6 p-lg-3&quot;&gt; &lt;div class="p-col-12 p-md-6 p-lg-3"&gt;
&lt;div class=&quot;box&quot;&gt;p-col-12 p-md-6 p-lg-3&lt;/div&gt; &lt;div class="box"&gt;p-col-12 p-md-6 p-lg-3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6 p-lg-3&quot;&gt; &lt;div class="p-col-12 p-md-6 p-lg-3"&gt;
&lt;div class=&quot;box&quot;&gt;p-col-12 p-md-6 p-lg-3&lt;/div&gt; &lt;div class="box"&gt;p-col-12 p-md-6 p-lg-3&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Horizontal Alignment - Start&lt;/h3&gt; &lt;h3&gt;Horizontal Alignment - Start&lt;/h3&gt;
&lt;div class=&quot;p-grid p-justify-start&quot;&gt; &lt;div class="p-grid p-justify-start"&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-1&quot;&gt; &lt;div class="p-col-1"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Horizontal Alignment - End&lt;/h3&gt; &lt;h3&gt;Horizontal Alignment - End&lt;/h3&gt;
&lt;div class=&quot;p-grid p-justify-end&quot;&gt; &lt;div class="p-grid p-justify-end"&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-1&quot;&gt; &lt;div class="p-col-1"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Horizontal Alignment - Center&lt;/h3&gt; &lt;h3&gt;Horizontal Alignment - Center&lt;/h3&gt;
&lt;div class=&quot;p-grid p-justify-center&quot;&gt; &lt;div class="p-grid p-justify-center"&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-1&quot;&gt; &lt;div class="p-col-1"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Horizontal Alignment - Between&lt;/h3&gt; &lt;h3&gt;Horizontal Alignment - Between&lt;/h3&gt;
&lt;div class=&quot;p-grid p-justify-between&quot;&gt; &lt;div class="p-grid p-justify-between"&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-1&quot;&gt; &lt;div class="p-col-1"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Horizontal Alignment - Around&lt;/h3&gt; &lt;h3&gt;Horizontal Alignment - Around&lt;/h3&gt;
&lt;div class=&quot;p-grid p-justify-around&quot;&gt; &lt;div class="p-grid p-justify-around"&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-1&quot;&gt; &lt;div class="p-col-1"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Horizontal Alignment - Even&lt;/h3&gt; &lt;h3&gt;Horizontal Alignment - Even&lt;/h3&gt;
&lt;div class=&quot;p-grid p-justify-even&quot;&gt; &lt;div class="p-grid p-justify-even"&gt;
&lt;div class=&quot;p-col-2&quot;&gt; &lt;div class="p-col-2"&gt;
&lt;div class=&quot;box&quot;&gt;2&lt;/div&gt; &lt;div class="box"&gt;2&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-1&quot;&gt; &lt;div class="p-col-1"&gt;
&lt;div class=&quot;box&quot;&gt;1&lt;/div&gt; &lt;div class="box"&gt;1&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Vertical Alignment - Start&lt;/h3&gt; &lt;h3&gt;Vertical Alignment - Start&lt;/h3&gt;
&lt;div class=&quot;p-grid p-align-start vertical-container&quot;&gt; &lt;div class="p-grid p-align-start vertical-container"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Vertical Alignment - End&lt;/h3&gt; &lt;h3&gt;Vertical Alignment - End&lt;/h3&gt;
&lt;div class=&quot;p-grid p-align-end vertical-container&quot;&gt; &lt;div class="p-grid p-align-end vertical-container"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Vertical Alignment - Center&lt;/h3&gt; &lt;h3&gt;Vertical Alignment - Center&lt;/h3&gt;
&lt;div class=&quot;p-grid p-align-center vertical-container&quot;&gt; &lt;div class="p-grid p-align-center vertical-container"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Vertical Alignment - Stretch&lt;/h3&gt; &lt;h3&gt;Vertical Alignment - Stretch&lt;/h3&gt;
&lt;div class=&quot;p-grid p-align-stretch vertical-container&quot;&gt; &lt;div class="p-grid p-align-stretch vertical-container"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box box-stretched&quot;&gt;4&lt;/div&gt; &lt;div class="box box-stretched"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box box-stretched&quot;&gt;4&lt;/div&gt; &lt;div class="box box-stretched"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;div class=&quot;box box-stretched&quot;&gt;4&lt;/div&gt; &lt;div class="box box-stretched"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Vertical Alignment - Per Column&lt;/h3&gt; &lt;h3&gt;Vertical Alignment - Per Column&lt;/h3&gt;
&lt;div class=&quot;p-grid vertical-container&quot;&gt; &lt;div class="p-grid vertical-container"&gt;
&lt;div class=&quot;p-col p-col-align-start&quot;&gt; &lt;div class="p-col p-col-align-start"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col p-col-align-center&quot;&gt; &lt;div class="p-col p-col-align-center"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col p-col-align-end&quot;&gt; &lt;div class="p-col p-col-align-end"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Offset&lt;/h3&gt; &lt;h3&gt;Offset&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-6 p-offset-3&quot;&gt; &lt;div class="p-col-6 p-offset-3"&gt;
&lt;div class=&quot;box&quot;&gt;6&lt;/div&gt; &lt;div class="box"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4 p-offset-4&quot;&gt; &lt;div class="p-col-4 p-offset-4"&gt;
&lt;div class=&quot;box&quot;&gt;4&lt;/div&gt; &lt;div class="box"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Nested&lt;/h3&gt; &lt;h3&gt;Nested&lt;/h3&gt;
&lt;div class=&quot;p-grid nested-grid&quot;&gt; &lt;div class="p-grid nested-grid"&gt;
&lt;div class=&quot;p-col-8&quot;&gt; &lt;div class="p-col-8"&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
&lt;div class=&quot;box&quot;&gt;6&lt;/div&gt; &lt;div class="box"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-6&quot;&gt; &lt;div class="p-col-6"&gt;
&lt;div class=&quot;box&quot;&gt;6&lt;/div&gt; &lt;div class="box"&gt;6&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;div class=&quot;box&quot;&gt;12&lt;/div&gt; &lt;div class="box"&gt;12&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-4&quot;&gt; &lt;div class="p-col-4"&gt;
&lt;div class=&quot;box box-stretched&quot;&gt;4&lt;/div&gt; &lt;div class="box box-stretched"&gt;4&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Panels&lt;/h3&gt; &lt;h3&gt;Panels&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;Panel header=&quot;Godfather&quot;&gt; &lt;Panel header="Godfather"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/Panel&gt; &lt;/Panel&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;Panel header=&quot;Godfather&quot;&gt; &lt;Panel header="Godfather"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/Panel&gt; &lt;/Panel&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col&quot;&gt; &lt;div class="p-col"&gt;
&lt;Panel header=&quot;Godfather&quot;&gt; &lt;Panel header="Godfather"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
@ -942,43 +942,43 @@
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Sample Layout&lt;/h3&gt; &lt;h3&gt;Sample Layout&lt;/h3&gt;
&lt;div class=&quot;p-grid sample-layout&quot;&gt; &lt;div class="p-grid sample-layout"&gt;
&lt;div class=&quot;p-col-12 p-md-2&quot;&gt; &lt;div class="p-col-12 p-md-2"&gt;
Menu Menu
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-10 p-col-nogutter&quot;&gt; &lt;div class="p-col-12 p-md-10 p-col-nogutter"&gt;
&lt;div class=&quot;p-col-12 p-col-nogutter&quot;&gt; &lt;div class="p-col-12 p-col-nogutter"&gt;
Top Bar Top Bar
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet, orci nec &lt;div class="p-col-12 p-md-4"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet, orci nec
dictum convallis, ligula mauris vestibulum turpis, nec varius tortor quam at diam. Nullam a viverra nibh. dictum convallis, ligula mauris vestibulum turpis, nec varius tortor quam at diam. Nullam a viverra nibh.
In tincidunt tempor lectus quis vulputate. Pellentesque nec dui aliquam, lobortis est in, lobortis ante&lt;/div&gt; In tincidunt tempor lectus quis vulputate. Pellentesque nec dui aliquam, lobortis est in, lobortis ante&lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt;Maecenas vel nisi aliquet, vulputate tortor id, laoreet massa. Maecenas mattis &lt;div class="p-col-12 p-md-4"&gt;Maecenas vel nisi aliquet, vulputate tortor id, laoreet massa. Maecenas mattis
tristique bibendum. Suspendisse vel mi dictum, vestibulum lacus quis, pulvinar quam. Proin vulputate, nibh tristique bibendum. Suspendisse vel mi dictum, vestibulum lacus quis, pulvinar quam. Proin vulputate, nibh
at finibus varius, leo eros lacinia elit, nec blandit odio tellus a justo. Donec nec ex auctor, tristique at finibus varius, leo eros lacinia elit, nec blandit odio tellus a justo. Donec nec ex auctor, tristique
nulla nec, rutrum sapien.&lt;/div&gt; nulla nec, rutrum sapien.&lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt;Proin efficitur in leo eget ornare. Nam vestibulum neque sed velit sagittis &lt;div class="p-col-12 p-md-4"&gt;Proin efficitur in leo eget ornare. Nam vestibulum neque sed velit sagittis
sodales. Sed scelerisque hendrerit magna a hendrerit. Cras tempor sem at justo pharetra convallis. sodales. Sed scelerisque hendrerit magna a hendrerit. Cras tempor sem at justo pharetra convallis.
Curabitur vel sodales purus. Vestibulum interdum facilisis nulla imperdiet suscipit. Quisque lectus felis, Curabitur vel sodales purus. Vestibulum interdum facilisis nulla imperdiet suscipit. Quisque lectus felis,
condimentum eget hendrerit sit amet.&lt;/div&gt; condimentum eget hendrerit sit amet.&lt;/div&gt;
&lt;div class=&quot;p-col-6 p-md-3&quot;&gt;&lt;img alt=&quot;Galleria 1&quot; src=&quot;/demo/images/nature/nature1.jpg&quot; style=&quot;width: 100%&quot; /&gt;&lt;/div&gt; &lt;div class="p-col-6 p-md-3"&gt;&lt;img alt="Galleria 1" src="/demo/images/nature/nature1.jpg" style="width: 100%" /&gt;&lt;/div&gt;
&lt;div class=&quot;p-col-6 p-md-3&quot;&gt;&lt;img alt=&quot;Galleria 2&quot; src=&quot;/demo/images/nature/nature2.jpg&quot; style=&quot;width: 100%&quot; /&gt;&lt;/div&gt; &lt;div class="p-col-6 p-md-3"&gt;&lt;img alt="Galleria 2" src="/demo/images/nature/nature2.jpg" style="width: 100%" /&gt;&lt;/div&gt;
&lt;div class=&quot;p-col-6 p-md-3&quot;&gt;&lt;img alt=&quot;Galleria 3&quot; src=&quot;/demo/images/nature/nature3.jpg&quot; style=&quot;width: 100%&quot; /&gt;&lt;/div&gt; &lt;div class="p-col-6 p-md-3"&gt;&lt;img alt="Galleria 3" src="/demo/images/nature/nature3.jpg" style="width: 100%" /&gt;&lt;/div&gt;
&lt;div class=&quot;p-col-6 p-md-3&quot;&gt;&lt;img alt=&quot;Galleria 4&quot; src=&quot;/demo/images/nature/nature4.jpg&quot; style=&quot;width: 100%&quot; /&gt;&lt;/div&gt; &lt;div class="p-col-6 p-md-3"&gt;&lt;img alt="Galleria 4" src="/demo/images/nature/nature4.jpg" style="width: 100%" /&gt;&lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6&quot;&gt;Phasellus faucibus purus volutpat mauris lacinia sodales. Ut sit amet sapien &lt;div class="p-col-12 p-md-6"&gt;Phasellus faucibus purus volutpat mauris lacinia sodales. Ut sit amet sapien
facilisis, commodo dui non, fringilla tellus. Quisque tempus facilisis nisi sodales finibus. Pellentesque facilisis, commodo dui non, fringilla tellus. Quisque tempus facilisis nisi sodales finibus. Pellentesque
neque orci, ullamcorper vitae ligula quis, dignissim euismod augue.&lt;/div&gt; neque orci, ullamcorper vitae ligula quis, dignissim euismod augue.&lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6&quot;&gt;Fusce ullamcorper congue massa, eget ullamcorper nunc lobortis egestas. Lorem &lt;div class="p-col-12 p-md-6"&gt;Fusce ullamcorper congue massa, eget ullamcorper nunc lobortis egestas. Lorem
ipsum dolor sit amet, consectetur adipiscing elit. Quisque ultrices dui eget dolor feugiat dapibus. Aliquam ipsum dolor sit amet, consectetur adipiscing elit. Quisque ultrices dui eget dolor feugiat dapibus. Aliquam
pretium leo et egestas luctus. Nunc facilisis gravida tellus.&lt;/div&gt; pretium leo et egestas luctus. Nunc facilisis gravida tellus.&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
Footer Footer
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -23,7 +23,7 @@ npm install @fullcalendar/interaction --save
<p>Events should be an array and defined using the events property.</p> <p>Events should be an array and defined using the events property.</p>
<CodeHighlight> <CodeHighlight>
&lt;FullCalendar :events=&quot;events&quot; /&gt; &lt;FullCalendar :events="events" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -201,15 +201,15 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;FullCalendar&lt;/h1&gt; &lt;h1&gt;FullCalendar&lt;/h1&gt;
&lt;p&gt;An event calendar based on the &lt;a href=&quot;https://fullcalendar.io/&quot;&gt;FullCalendar&lt;/a&gt; library.&lt;/p&gt; &lt;p&gt;An event calendar based on the &lt;a href="https://fullcalendar.io/"&gt;FullCalendar&lt;/a&gt; library.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;FullCalendar :events=&quot;events&quot; :options=&quot;options&quot; /&gt; &lt;FullCalendar :events="events" :options="options" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -9,111 +9,111 @@
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;InputGroup&lt;/h1&gt; &lt;h1&gt;InputGroup&lt;/h1&gt;
&lt;p&gt;Text, icon, buttons and other content can be grouped next to an input.&lt;/p&gt; &lt;p&gt;Text, icon, buttons and other content can be grouped next to an input.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Addons&lt;/h3&gt; &lt;h3 class="first"&gt;Addons&lt;/h3&gt;
&lt;div class=&quot;p-grid p-fluid&quot;&gt; &lt;div class="p-grid p-fluid"&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt; &lt;span class="p-inputgroup-addon"&gt;
&lt;i class=&quot;pi pi-user&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-user"&gt;&lt;/i&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;InputText placeholder=&quot;Username&quot; /&gt; &lt;InputText placeholder="Username" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt;$&lt;/span&gt; &lt;span class="p-inputgroup-addon"&gt;$&lt;/span&gt;
&lt;InputText placeholder=&quot;Price&quot; /&gt; &lt;InputText placeholder="Price" /&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt;.00&lt;/span&gt; &lt;span class="p-inputgroup-addon"&gt;.00&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt;W&lt;/span&gt; &lt;span class="p-inputgroup-addon"&gt;W&lt;/span&gt;
&lt;InputText placeholder=&quot;Website&quot; /&gt; &lt;InputText placeholder="Website" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Multiple Addons&lt;/h3&gt; &lt;h3&gt;Multiple Addons&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt; &lt;span class="p-inputgroup-addon"&gt;
&lt;i class=&quot;pi pi-clock&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-clock"&gt;&lt;/i&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt; &lt;span class="p-inputgroup-addon"&gt;
&lt;i class=&quot;pi pi-star&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-star"&gt;&lt;/i&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;InputText placeholder=&quot;Price&quot; /&gt; &lt;InputText placeholder="Price" /&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt;$&lt;/span&gt; &lt;span class="p-inputgroup-addon"&gt;$&lt;/span&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt;.00&lt;/span&gt; &lt;span class="p-inputgroup-addon"&gt;.00&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Button Addons&lt;/h3&gt; &lt;h3&gt;Button Addons&lt;/h3&gt;
&lt;div class=&quot;p-grid p-fluid&quot;&gt; &lt;div class="p-grid p-fluid"&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;Button label=&quot;Search&quot;/&gt; &lt;Button label="Search"/&gt;
&lt;InputText placeholder=&quot;Keyword&quot;/&gt; &lt;InputText placeholder="Keyword"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;InputText placeholder=&quot;Keyword&quot;/&gt; &lt;InputText placeholder="Keyword"/&gt;
&lt;Button icon=&quot;pi pi-search&quot; class=&quot;p-button-warning&quot;/&gt; &lt;Button icon="pi pi-search" class="p-button-warning"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;Button icon=&quot;pi pi-check&quot; class=&quot;p-button-success&quot;/&gt; &lt;Button icon="pi pi-check" class="p-button-success"/&gt;
&lt;InputText placeholder=&quot;Vote&quot;/&gt; &lt;InputText placeholder="Vote"/&gt;
&lt;Button icon=&quot;pi pi-times&quot; class=&quot;p-button-danger&quot;/&gt; &lt;Button icon="pi pi-times" class="p-button-danger"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Checkbox and RadioButton&lt;/h3&gt; &lt;h3&gt;Checkbox and RadioButton&lt;/h3&gt;
&lt;div class=&quot;p-grid p-fluid&quot;&gt; &lt;div class="p-grid p-fluid"&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt; &lt;span class="p-inputgroup-addon"&gt;
&lt;Checkbox v-model=&quot;checked1&quot; /&gt; &lt;Checkbox v-model="checked1" /&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;InputText placeholder=&quot;Username&quot;/&gt; &lt;InputText placeholder="Username"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;InputText placeholder=&quot;Price&quot;/&gt; &lt;InputText placeholder="Price"/&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt; &lt;span class="p-inputgroup-addon"&gt;
&lt;RadioButton name=&quot;rb1&quot; value=&quot;rb1&quot; v-model=&quot;radioValue1&quot; /&gt; &lt;RadioButton name="rb1" value="rb1" v-model="radioValue1" /&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;div class=&quot;p-inputgroup&quot;&gt; &lt;div class="p-inputgroup"&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt; &lt;span class="p-inputgroup-addon"&gt;
&lt;Checkbox v-model=&quot;checked2&quot; /&gt; &lt;Checkbox v-model="checked2" /&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;InputText placeholder=&quot;Website&quot;/&gt; &lt;InputText placeholder="Website"/&gt;
&lt;span class=&quot;p-inputgroup-addon&quot;&gt; &lt;span class="p-inputgroup-addon"&gt;
&lt;RadioButton name=&quot;rb2&quot; value=&quot;rb2&quot; v-model=&quot;radioValue2&quot; /&gt; &lt;RadioButton name="rb2" value="rb2" v-model="radioValue2" /&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -10,7 +10,7 @@ import InputSwitch from 'primevue/inputswitch';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Two-way binding to a boolean property is defined using the standard v-model directive.</p> <p>Two-way binding to a boolean property is defined using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;InputSwitch v-model=&quot;checked&quot; /&gt; &lt;InputSwitch v-model="checked" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -155,21 +155,21 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;InputSwitch&lt;/h1&gt; &lt;h1&gt;InputSwitch&lt;/h1&gt;
&lt;p&gt;InputSwitch is used to select a boolean value.&lt;/p&gt; &lt;p&gt;InputSwitch is used to select a boolean value.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;InputSwitch v-model=&quot;checked1&quot; /&gt; &lt;InputSwitch v-model="checked1" /&gt;
&lt;p style=&quot;font-weight: bold&quot;&gt;{{checked1}}&lt;/p&gt; &lt;p style="font-weight: bold"&gt;{{checked1}}&lt;/p&gt;
&lt;h3&gt;Preselection&lt;/h3&gt; &lt;h3&gt;Preselection&lt;/h3&gt;
&lt;InputSwitch v-model=&quot;checked2&quot; /&gt; &lt;InputSwitch v-model="checked2" /&gt;
&lt;p style=&quot;font-weight: bold&quot;&gt;{{checked2}}&lt;/p&gt; &lt;p style="font-weight: bold"&gt;{{checked2}}&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,15 +10,15 @@ import InputText from 'primevue/inputtext';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>A model can be bound using the standard v-model directive.</p> <p>A model can be bound using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;InputText type=&quot;text&quot; v-model=&quot;value&quot; /&gt; &lt;InputText type="text" v-model="value" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Float Label</h3> <h3>Float Label</h3>
<p>A floating label is implemented by wrapping the input and the label inside a container having <i>.p-float-label</i> style class.</p> <p>A floating label is implemented by wrapping the input and the label inside a container having <i>.p-float-label</i> style class.</p>
<CodeHighlight> <CodeHighlight>
&lt;span class=&quot;p-float-label&quot;&gt; &lt;span class="p-float-label"&gt;
&lt;InputText id="username" type=&quot;text&quot; v-model=&quot;value&quot; /&gt; &lt;InputText id="username" type="text" v-model="value" /&gt;
&lt;label for=&quot;username&quot;&gt;Username&lt;/label&gt; &lt;label for="username"&gt;Username&lt;/label&gt;
&lt;/span&gt; &lt;/span&gt;
</CodeHighlight> </CodeHighlight>
@ -56,26 +56,26 @@ import InputText from 'primevue/inputtext';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;InputText&lt;/h1&gt; &lt;h1&gt;InputText&lt;/h1&gt;
&lt;p&gt;InputText renders and input field where the user can enter data.&lt;/p&gt; &lt;p&gt;InputText renders and input field where the user can enter data.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;InputText type=&quot;text&quot; v-model=&quot;value1&quot; /&gt; &lt;InputText type="text" v-model="value1" /&gt;
&lt;span :style=&quot;{marginLeft: '.5em'}&quot;&gt;{{value1}}&lt;/span&gt; &lt;span :style="{marginLeft: '.5em'}"&gt;{{value1}}&lt;/span&gt;
&lt;h3&gt;Floating Label&lt;/h3&gt; &lt;h3&gt;Floating Label&lt;/h3&gt;
&lt;span class=&quot;p-float-label&quot;&gt; &lt;span class="p-float-label"&gt;
&lt;InputText id="username" type=&quot;text&quot; v-model=&quot;value2&quot; /&gt; &lt;InputText id="username" type="text" v-model="value2" /&gt;
&lt;label for=&quot;username&quot;&gt;Username&lt;/label&gt; &lt;label for="username"&gt;Username&lt;/label&gt;
&lt;/span&gt; &lt;/span&gt;
&lt;h3&gt;Disabled&lt;/h3&gt; &lt;h3&gt;Disabled&lt;/h3&gt;
&lt;InputText type=&quot;text&quot; v-model=&quot;value3&quot; disabled /&gt; &lt;InputText type="text" v-model="value3" disabled /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,7 +10,7 @@ import Listbox from 'primevue/listbox';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Listbox 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> <p>Listbox 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> <CodeHighlight>
&lt;Listbox v-model=&quot;selectedCity&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; /&gt; &lt;Listbox v-model="selectedCity" :options="cities" optionLabel="name" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -33,18 +33,18 @@ data() {
using metaKey or toggled individually depending on the value of <i>metaKeySelection</i> property value which is true by default. On touch enabled using metaKey or toggled individually depending on the value of <i>metaKeySelection</i> property value which is true by default. On touch enabled
devices metaKeySelection is turned off automatically.</p> devices metaKeySelection is turned off automatically.</p>
<CodeHighlight> <CodeHighlight>
&lt;Listbox v-model=&quot;selectedCity&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; :multiple=&quot;true&quot;/&gt; &lt;Listbox v-model="selectedCity" :options="cities" optionLabel="name" :multiple="true"/&gt;
</CodeHighlight> </CodeHighlight>
<h3>Custom Content</h3> <h3>Custom Content</h3>
<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> <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> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;Listbox v-model=&quot;selectedCars&quot; :options=&quot;cars&quot; :multiple=&quot;true&quot; :filter=&quot;true&quot; optionLabel=&quot;brand&quot; listStyle=&quot;max-height:250px&quot; style=&quot;width:15em&quot;&gt; &lt;Listbox v-model="selectedCars" :options="cars" :multiple="true" :filter="true" optionLabel="brand" listStyle="max-height:250px" style="width:15em"&gt;
&lt;template #option=&quot;slotProps&quot;&gt; &lt;template #option="slotProps"&gt;
&lt;div class=&quot;p-clearfix&quot;&gt; &lt;div class="p-clearfix"&gt;
&lt;img :alt=&quot;slotProps.option.brand&quot; :src=&quot;'/demo/images/car/' + slotProps.option.brand + '.png'&quot; style=&quot;display:inline-block;margin:5px 0 0 5px;width:48px&quot; /&gt; &lt;img :alt="slotProps.option.brand" :src="'/demo/images/car/' + slotProps.option.brand + '.png'" style="display:inline-block;margin:5px 0 0 5px;width:48px" /&gt;
&lt;span style=&quot;float:right;margin:1.25em .5em 0 0&quot;&gt;{{slotProps.option.brand}}&lt;/span&gt; &lt;span style="float:right;margin:1.25em .5em 0 0"&gt;{{slotProps.option.brand}}&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Listbox&gt; &lt;/Listbox&gt;
@ -54,7 +54,7 @@ data() {
<h3>Filter</h3> <h3>Filter</h3>
<p>Filtering allows searching items in the list using an input field at the header. In order to use filtering, enable <i>filter</i> property.</p> <p>Filtering allows searching items in the list using an input field at the header. In order to use filtering, enable <i>filter</i> property.</p>
<CodeHighlight> <CodeHighlight>
&lt;Listbox v-model=&quot;selectedCity&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; :filter=&quot;true&quot;/&gt; &lt;Listbox v-model="selectedCity" :options="cities" optionLabel="name" :filter="true"/&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -214,23 +214,23 @@ data() {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Listbox&lt;/h1&gt; &lt;h1&gt;Listbox&lt;/h1&gt;
&lt;p&gt;Listbox is used to select one or more values from a list of items.&lt;/p&gt; &lt;p&gt;Listbox is used to select one or more values from a list of items.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Single&lt;/h3&gt; &lt;h3 class="first"&gt;Single&lt;/h3&gt;
&lt;Listbox v-model=&quot;selectedCity&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; /&gt; &lt;Listbox v-model="selectedCity" :options="cities" optionLabel="name" /&gt;
&lt;h3&gt;Advanced with Templating, Filtering and Multiple Selection&lt;/h3&gt; &lt;h3&gt;Advanced with Templating, Filtering and Multiple Selection&lt;/h3&gt;
&lt;Listbox v-model=&quot;selectedCars&quot; :options=&quot;cars&quot; :multiple=&quot;true&quot; :filter=&quot;true&quot; optionLabel=&quot;brand&quot; listStyle=&quot;max-height:250px&quot; style=&quot;width:15em&quot;&gt; &lt;Listbox v-model="selectedCars" :options="cars" :multiple="true" :filter="true" optionLabel="brand" listStyle="max-height:250px" style="width:15em"&gt;
&lt;template #option=&quot;slotProps&quot;&gt; &lt;template #option="slotProps"&gt;
&lt;div class=&quot;p-clearfix&quot;&gt; &lt;div class="p-clearfix"&gt;
&lt;img :alt=&quot;slotProps.option.brand&quot; :src=&quot;'/demo/images/car/' + slotProps.option.brand + '.png'&quot; style=&quot;display:inline-block;margin:5px 0 0 5px;width:48px&quot; /&gt; &lt;img :alt="slotProps.option.brand" :src="'/demo/images/car/' + slotProps.option.brand + '.png'" style="display:inline-block;margin:5px 0 0 5px;width:48px" /&gt;
&lt;span style=&quot;float:right;margin:1.25em .5em 0 0&quot;&gt;{{slotProps.option.brand}}&lt;/span&gt; &lt;span style="float:right;margin:1.25em .5em 0 0"&gt;{{slotProps.option.brand}}&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Listbox&gt; &lt;/Listbox&gt;

View File

@ -13,7 +13,7 @@ import ValidationMessage from 'primevue/validationmessage';
Messages to display can either be defined using the value property which should an array of Message instances.</p> Messages to display can either be defined using the value property which should an array of Message instances.</p>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;Message v-for=&quot;msg of messages&quot; :severity=&quot;msg.severity&quot; :key=&quot;msg.content&quot;&gt;{{msg.content}}&lt;/Message&gt; &lt;Message v-for="msg of messages" :severity="msg.severity" :key="msg.content"&gt;{{msg.content}}&lt;/Message&gt;
</template> </template>
</CodeHighlight> </CodeHighlight>
@ -42,20 +42,20 @@ data() {
<h3>Closable</h3> <h3>Closable</h3>
<p>Messages are closable by default resulting in a close icon being displayed on top right corner. In order to disable closable messages, set <i>closable</i> to false.</p> <p>Messages are closable by default resulting in a close icon being displayed on top right corner. In order to disable closable messages, set <i>closable</i> to false.</p>
<CodeHighlight> <CodeHighlight>
&lt;Message severity=&quot;success&quot; :closable=&quot;false&quot;&gt;Order Submitted&lt;/Message&gt; &lt;Message severity="success" :closable="false"&gt;Order Submitted&lt;/Message&gt;
</CodeHighlight> </CodeHighlight>
<h3>Sticky</h3> <h3>Sticky</h3>
<p>Messages are cleared automatically after the timeout defined by <i>life</i> property which is 3 seconds by default. Use <i>sticky</i> mode to make them stay until <p>Messages are cleared automatically after the timeout defined by <i>life</i> property which is 3 seconds by default. Use <i>sticky</i> mode to make them stay until
they are manually removed.</p> they are manually removed.</p>
<CodeHighlight> <CodeHighlight>
&lt;Message severity=&quot;warn&quot; :life=&quot;5000&quot; :sticky=&quot;false&quot;&gt;This message will hide in 5 seconds.&lt;/Message&gt; &lt;Message severity="warn" :life="5000" :sticky="false"&gt;This message will hide in 5 seconds.&lt;/Message&gt;
</CodeHighlight> </CodeHighlight>
<h3>ValidationMessage Component</h3> <h3>ValidationMessage Component</h3>
<p>ValidationMessage component is useful in cases where a single message needs to be displayed related to an element such as forms. It has one property, <i>severity</i> of the message.</p> <p>ValidationMessage component is useful in cases where a single message needs to be displayed related to an element such as forms. It has one property, <i>severity</i> of the message.</p>
<CodeHighlight> <CodeHighlight>
&lt;InputText placeholder=&quot;Username&quot; class=&quot;p-error&quot; /&gt; &lt;InputText placeholder="Username" class="p-error" /&gt;
&lt;ValidationMessage&gt;Field is required&lt;/ValidationMessage&gt; &lt;ValidationMessage&gt;Field is required&lt;/ValidationMessage&gt;
</CodeHighlight> </CodeHighlight>
@ -163,36 +163,36 @@ data() {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Message&lt;/h1&gt; &lt;h1&gt;Message&lt;/h1&gt;
&lt;p&gt;Messages is used to display inline messages with various severities.&lt;/p&gt; &lt;p&gt;Messages is used to display inline messages with various severities.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Severities&lt;/h3&gt; &lt;h3 class="first"&gt;Severities&lt;/h3&gt;
&lt;Message severity=&quot;success&quot;&gt;Order Submitted&lt;/Message&gt; &lt;Message severity="success"&gt;Order Submitted&lt;/Message&gt;
&lt;Message severity=&quot;info&quot;&gt;PrimeVue Rocks&lt;/Message&gt; &lt;Message severity="info"&gt;PrimeVue Rocks&lt;/Message&gt;
&lt;Message severity=&quot;warn&quot;&gt;There are unsaved changes&lt;/Message&gt; &lt;Message severity="warn"&gt;There are unsaved changes&lt;/Message&gt;
&lt;Message severity=&quot;error&quot;&gt;Validation Failed&lt;/Message&gt; &lt;Message severity="error"&gt;Validation Failed&lt;/Message&gt;
&lt;h3&gt;Dynamic&lt;/h3&gt; &lt;h3&gt;Dynamic&lt;/h3&gt;
&lt;Button label=&quot;Show&quot; @click=&quot;addMessages()&quot; /&gt; &lt;Button label="Show" @click="addMessages()" /&gt;
&lt;Button label=&quot;Clear&quot; @click=&quot;removeMessages()&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button label="Clear" @click="removeMessages()" class="p-button-secondary"/&gt;
&lt;Message v-for=&quot;msg of messages&quot; :severity=&quot;msg.severity&quot; :key=&quot;msg.content&quot;&gt;{{msg.content}}&lt;/Message&gt; &lt;Message v-for="msg of messages" :severity="msg.severity" :key="msg.content"&gt;{{msg.content}}&lt;/Message&gt;
&lt;h3&gt;Auto Dismiss&lt;/h3&gt; &lt;h3&gt;Auto Dismiss&lt;/h3&gt;
&lt;Message severity=&quot;warn&quot; :life=&quot;5000&quot; :sticky=&quot;false&quot;&gt;This message will hide in 5 seconds.&lt;/Message&gt; &lt;Message severity="warn" :life="5000" :sticky="false"&gt;This message will hide in 5 seconds.&lt;/Message&gt;
&lt;h3&gt;Validation Message&lt;/h3&gt; &lt;h3&gt;Validation Message&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;InputText placeholder=&quot;Username&quot; class=&quot;p-error&quot; /&gt; &lt;InputText placeholder="Username" class="p-error" /&gt;
&lt;ValidationMessage&gt;Field is required&lt;/ValidationMessage&gt; &lt;ValidationMessage&gt;Field is required&lt;/ValidationMessage&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;InputText placeholder=&quot;Email&quot; class=&quot;p-error&quot; :closable=&quot;false&quot; /&gt; &lt;InputText placeholder="Email" class="p-error" :closable="false" /&gt;
&lt;ValidationMessage /&gt; &lt;ValidationMessage /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -10,7 +10,7 @@ import MultiSelect from 'primevue/multiselect';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>MultiSelect 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> <p>MultiSelect 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> <CodeHighlight>
&lt;MultiSelect v-model=&quot;selectedCars&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot; placeholder=&quot;Select Brands&quot; /&gt; &lt;MultiSelect v-model="selectedCars" :options="cars" optionLabel="brand" placeholder="Select Brands" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -37,19 +37,19 @@ data() {
<p>In addition the <i>value</i> template can be used to customize the selected values display instead of the default comma separated list.</p> <p>In addition the <i>value</i> template can be used to customize the selected values display instead of the default comma separated list.</p>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;MultiSelect v-model=&quot;selectedCars2&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot; placeholder=&quot;Select a Car&quot;&gt; &lt;MultiSelect v-model="selectedCars2" :options="cars" optionLabel="brand" placeholder="Select a Car"&gt;
&lt;template #value=&quot;slotProps&quot;&gt; &lt;template #value="slotProps"&gt;
&lt;div class=&quot;p-multiselect-car-token&quot; v-for=&quot;option of slotProps.value&quot; :key=&quot;option.brand&quot;&gt; &lt;div class="p-multiselect-car-token" v-for="option of slotProps.value" :key="option.brand"&gt;
&lt;img :alt=&quot;option.brand&quot; :src=&quot;'/demo/images/car/' + option.brand + '.png'&quot; /&gt; &lt;img :alt="option.brand" :src="'/demo/images/car/' + option.brand + '.png'" /&gt;
&lt;span&gt;{{option.brand}}&lt;/span&gt; &lt;span&gt;{{option.brand}}&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-multiselect-empty-car-token&quot; v-if=&quot;!slotProps.value || slotProps.value.length === 0&quot;&gt; &lt;div class="p-multiselect-empty-car-token" v-if="!slotProps.value || slotProps.value.length === 0"&gt;
Select Brands Select Brands
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #option=&quot;slotProps&quot;&gt; &lt;template #option="slotProps"&gt;
&lt;div class=&quot;p-multiselect-car-option&quot;&gt; &lt;div class="p-multiselect-car-option"&gt;
&lt;img :alt=&quot;slotProps.option.brand&quot; :src=&quot;'/demo/images/car/' + slotProps.option.brand + '.png'&quot; /&gt; &lt;img :alt="slotProps.option.brand" :src="'/demo/images/car/' + slotProps.option.brand + '.png'" /&gt;
&lt;span&gt;{{slotProps.option.brand}}&lt;/span&gt; &lt;span&gt;{{slotProps.option.brand}}&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
@ -60,7 +60,7 @@ data() {
<h3>Filter</h3> <h3>Filter</h3>
<p>Filtering allows searching items in the list using an input field at the header. In order to use filtering, enable the <i>filter</i> property.</p> <p>Filtering allows searching items in the list using an input field at the header. In order to use filtering, enable the <i>filter</i> property.</p>
<CodeHighlight> <CodeHighlight>
&lt;MultiSelect v-model=&quot;selectedCars&quot; :options=&quot;cars&quot; :filter=&quot;true&quot; optionLabel=&quot;brand&quot; placeholder=&quot;Select Brands&quot;/&gt; &lt;MultiSelect v-model="selectedCars" :options="cars" :filter="true" optionLabel="brand" placeholder="Select Brands"/&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -237,31 +237,31 @@ data() {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;MultiSelect&lt;/h1&gt; &lt;h1&gt;MultiSelect&lt;/h1&gt;
&lt;p&gt;MultiSelect is used to multiple values from a list of options.&lt;/p&gt; &lt;p&gt;MultiSelect is used to multiple values from a list of options.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;MultiSelect v-model=&quot;selectedCars1&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot; placeholder=&quot;Select Brands&quot; /&gt; &lt;MultiSelect v-model="selectedCars1" :options="cars" optionLabel="brand" placeholder="Select Brands" /&gt;
&lt;h3&gt;Advanced with Templating and Filtering&lt;/h3&gt; &lt;h3&gt;Advanced with Templating and Filtering&lt;/h3&gt;
&lt;MultiSelect v-model=&quot;selectedCars2&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot; placeholder=&quot;Select a Car&quot; :filter=&quot;true&quot;&gt; &lt;MultiSelect v-model="selectedCars2" :options="cars" optionLabel="brand" placeholder="Select a Car" :filter="true"&gt;
&lt;template #value=&quot;slotProps&quot;&gt; &lt;template #value="slotProps"&gt;
&lt;div class=&quot;p-multiselect-car-token&quot; v-for=&quot;option of slotProps.value&quot; :key=&quot;option.brand&quot;&gt; &lt;div class="p-multiselect-car-token" v-for="option of slotProps.value" :key="option.brand"&gt;
&lt;img :alt=&quot;option.brand&quot; :src=&quot;'/demo/images/car/' + option.brand + '.png'&quot; /&gt; &lt;img :alt="option.brand" :src="'/demo/images/car/' + option.brand + '.png'" /&gt;
&lt;span&gt;{{option.brand}}&lt;/span&gt; &lt;span&gt;{{option.brand}}&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-multiselect-empty-car-token&quot; v-if=&quot;!slotProps.value || slotProps.value.length === 0&quot;&gt; &lt;div class="p-multiselect-empty-car-token" v-if="!slotProps.value || slotProps.value.length === 0"&gt;
Select Brands Select Brands
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #option=&quot;slotProps&quot;&gt; &lt;template #option="slotProps"&gt;
&lt;div class=&quot;p-multiselect-car-option&quot;&gt; &lt;div class="p-multiselect-car-option"&gt;
&lt;img :alt=&quot;slotProps.option.brand&quot; :src=&quot;'/demo/images/car/' + slotProps.option.brand + '.png'&quot; /&gt; &lt;img :alt="slotProps.option.brand" :src="'/demo/images/car/' + slotProps.option.brand + '.png'" /&gt;
&lt;span&gt;{{slotProps.option.brand}}&lt;/span&gt; &lt;span&gt;{{slotProps.option.brand}}&lt;/span&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,10 +10,10 @@ import OverlayPanel from 'primevue/overlaypanel';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>OverlayPanel is accessed via its reference where visibility is controlled using toggle, show and hide methods.</p> <p>OverlayPanel is accessed via its reference where visibility is controlled using toggle, show and hide methods.</p>
<CodeHighlight> <CodeHighlight>
&lt;Button type=&quot;button&quot; label=&quot;Toggle&quot; @click=&quot;toggle&quot; /&gt; &lt;Button type="button" label="Toggle" @click="toggle" /&gt;
&lt;OverlayPanel ref=&quot;op&quot;&gt; &lt;OverlayPanel ref="op"&gt;
&lt;img src=&quot;/demo/images/nature/nature1.jpg&quot; alt=&quot;Nature Image&quot;&gt; &lt;img src="/demo/images/nature/nature1.jpg" alt="Nature Image"&gt;
&lt;/OverlayPanel&gt; &lt;/OverlayPanel&gt;
</CodeHighlight> </CodeHighlight>
@ -27,8 +27,8 @@ toggle(event) {
<p>Clicking outside the overlay hides the panel, setting dismissable to false disables this behavior. <p>Clicking outside the overlay hides the panel, setting dismissable to false disables this behavior.
Additionally enablign showCloseIcon property displays a close icon at the top right corner to close the panel.</p> Additionally enablign showCloseIcon property displays a close icon at the top right corner to close the panel.</p>
<CodeHighlight> <CodeHighlight>
&lt;OverlayPanel ref=&quot;op&quot; :showCloseIcon=&quot;true&quot; :dismissable=&quot;true&quot;&gt; &lt;OverlayPanel ref="op" :showCloseIcon="true" :dismissable="true"&gt;
&lt;img src=&quot;/demo/images/nature/nature1.jpg&quot; alt=&quot;Nature Image&quot;&gt; &lt;img src="/demo/images/nature/nature1.jpg" alt="Nature Image"&gt;
&lt;/OverlayPanel&gt; &lt;/OverlayPanel&gt;
</CodeHighlight> </CodeHighlight>
@ -148,18 +148,18 @@ toggle(event) {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;OverlayPanel&lt;/h1&gt; &lt;h1&gt;OverlayPanel&lt;/h1&gt;
&lt;p&gt;OverlayPanel is a container component that can overlay other components on page.&lt;/p&gt; &lt;p&gt;OverlayPanel is a container component that can overlay other components on page.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Button type=&quot;button&quot; label=&quot;Toggle&quot; @click=&quot;toggle&quot; /&gt; &lt;Button type="button" label="Toggle" @click="toggle" /&gt;
&lt;OverlayPanel ref=&quot;op&quot; appendTo=&quot;body&quot; :showCloseIcon=&quot;true&quot;&gt; &lt;OverlayPanel ref="op" appendTo="body" :showCloseIcon="true"&gt;
&lt;img src=&quot;/demo/images/nature/nature1.jpg&quot; alt=&quot;Nature Image&quot;&gt; &lt;img src="/demo/images/nature/nature1.jpg" alt="Nature Image"&gt;
&lt;/OverlayPanel&gt; &lt;/OverlayPanel&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -54,13 +54,13 @@ import Paginator from 'primevue/paginator';
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;Paginator :first.sync="offset" :rows="10" :totalRecords="totalItemsCount"&gt; &lt;Paginator :first.sync="offset" :rows="10" :totalRecords="totalItemsCount"&gt;
&lt;template #left=&quot;slotProps&quot;&gt; &lt;template #left="slotProps"&gt;
Page: {{slotProps.state.page}} Page: {{slotProps.state.page}}
First: {{slotProps.state.first}} First: {{slotProps.state.first}}
Rows: {{slotProps.state.rows}} Rows: {{slotProps.state.rows}}
&lt;/template&gt; &lt;/template&gt;
&lt;template #right&gt; &lt;template #right&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-search&quot; /&gt; &lt;Button type="button" icon="pi pi-search" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Paginator&gt; &lt;/Paginator&gt;
</template> </template>
@ -221,29 +221,29 @@ onPage(event) {
<CodeHighlight> <CodeHighlight>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Paginator&lt;/h1&gt; &lt;h1&gt;Paginator&lt;/h1&gt;
&lt;p&gt;Paginator is a generic component to display content in paged format.&lt;/p&gt; &lt;p&gt;Paginator is a generic component to display content in paged format.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Default&lt;/h3&gt; &lt;h3 class="first"&gt;Default&lt;/h3&gt;
&lt;Paginator :first.sync=&quot;first&quot; :rows.sync=&quot;rows&quot; :totalRecords=&quot;totalRecords&quot; :rowsPerPageOptions=&quot;[10,20,30]&quot;&gt;&lt;/Paginator&gt; &lt;Paginator :first.sync="first" :rows.sync="rows" :totalRecords="totalRecords" :rowsPerPageOptions="[10,20,30]"&gt;&lt;/Paginator&gt;
&lt;h3&gt;Custom Template&lt;/h3&gt; &lt;h3&gt;Custom Template&lt;/h3&gt;
&lt;Paginator :first.sync=&quot;first2&quot; :rows=&quot;1&quot; :totalRecords=&quot;totalRecords2&quot; @page-change=&quot;onPageChangeCustom($event)&quot; template=&quot;FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink&quot;&gt; &lt;Paginator :first.sync="first2" :rows="1" :totalRecords="totalRecords2" @page-change="onPageChangeCustom($event)" template="FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink"&gt;
&lt;template #left&gt; &lt;template #left&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-refresh&quot; @click=&quot;reset()&quot;/&gt; &lt;Button type="button" icon="pi pi-refresh" @click="reset()"/&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #right&gt; &lt;template #right&gt;
&lt;Button type=&quot;button&quot; icon=&quot;pi pi-search&quot; /&gt; &lt;Button type="button" icon="pi pi-search" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Paginator&gt; &lt;/Paginator&gt;
&lt;div class=&quot;image-gallery&quot;&gt; &lt;div class="image-gallery"&gt;
&lt;img :src=&quot;&#39;/demo/images/nature/&#39; + image + &#39;.jpg&#39;&quot; /&gt; &lt;img :src="&#39;/demo/images/nature/&#39; + image + &#39;.jpg&#39;" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -10,7 +10,7 @@ import Panel from 'primevue/panel';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Panel is a container component that accepts content as its children.</p> <p>Panel is a container component that accepts content as its children.</p>
<CodeHighlight> <CodeHighlight>
&lt;Panel header=&quot;Godfather I&quot;&gt; &lt;Panel header="Godfather I"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
@ -21,7 +21,7 @@ import Panel from 'primevue/panel';
<h3>Toggleable</h3> <h3>Toggleable</h3>
<p>Content of the panel can be expanded and collapsed using <i>toggleable</i> option.</p> <p>Content of the panel can be expanded and collapsed using <i>toggleable</i> option.</p>
<CodeHighlight> <CodeHighlight>
&lt;Panel header=&quot;Godfather I&quot; :toggleable=&quot;true&quot;&gt; &lt;Panel header="Godfather I" :toggleable="true"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
@ -132,16 +132,16 @@ import Panel from 'primevue/panel';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Panel&lt;/h1&gt; &lt;h1&gt;Panel&lt;/h1&gt;
&lt;p&gt;Panel is a grouping component with the optional content toggle feature.&lt;/p&gt; &lt;p&gt;Panel is a grouping component with the optional content toggle feature.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Regular&lt;/h3&gt; &lt;h3 class="first"&gt;Regular&lt;/h3&gt;
&lt;Panel header=&quot;Godfather I&quot;&gt; &lt;Panel header="Godfather I"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
@ -149,7 +149,7 @@ import Panel from 'primevue/panel';
&lt;/Panel&gt; &lt;/Panel&gt;
&lt;h3&gt;Toggleable&lt;/h3&gt; &lt;h3&gt;Toggleable&lt;/h3&gt;
&lt;Panel header=&quot;Godfather I&quot; :toggleable=&quot;true&quot;&gt; &lt;Panel header="Godfather I" :toggleable="true"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,

View File

@ -10,7 +10,7 @@ import Password from 'primevue/password';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>A model can be bound using the standard v-model directive.</p> <p>A model can be bound using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;Password v-model=&quot;value&quot; /&gt; &lt;Password v-model="value" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -98,15 +98,15 @@ import Password from 'primevue/password';
<CodeHighlight> <CodeHighlight>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Password&lt;/h1&gt; &lt;h1&gt;Password&lt;/h1&gt;
&lt;p&gt;Password displays strength indicator for password fields.&lt;/p&gt; &lt;p&gt;Password displays strength indicator for password fields.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Password v-model=&quot;value&quot; /&gt; &lt;Password v-model="value" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,7 +10,7 @@ import ProgressBar from 'primevue/progressbar';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>ProgressBar has two modes; "determinate" (default) and "indeterminate". In determinate mode, a value between 0 and 100 is required to display the progress.</p> <p>ProgressBar has two modes; "determinate" (default) and "indeterminate". In determinate mode, a value between 0 and 100 is required to display the progress.</p>
<CodeHighlight> <CodeHighlight>
&lt;ProgressBar :value=&quot;value&quot; /&gt; &lt;ProgressBar :value="value" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
data() { data() {
@ -22,7 +22,7 @@ data() {
<p>Indeterminate is simplly enabled using <i>mode</i> property.</p> <p>Indeterminate is simplly enabled using <i>mode</i> property.</p>
<CodeHighlight> <CodeHighlight>
&lt;ProgressBar mode=&quot;indeterminate&quot;/&gt; &lt;ProgressBar mode="indeterminate"/&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -106,22 +106,22 @@ data() {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;ProgressBar&lt;/h1&gt; &lt;h1&gt;ProgressBar&lt;/h1&gt;
&lt;p&gt;ProgressBar is a process status indicator.&lt;/p&gt; &lt;p&gt;ProgressBar is a process status indicator.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Dynamic&lt;/h3&gt; &lt;h3 class="first"&gt;Dynamic&lt;/h3&gt;
&lt;ProgressBar :value=&quot;value1&quot; /&gt; &lt;ProgressBar :value="value1" /&gt;
&lt;h3&gt;Static&lt;/h3&gt; &lt;h3&gt;Static&lt;/h3&gt;
&lt;ProgressBar :value=&quot;value2&quot; :showValue=&quot;false&quot; /&gt; &lt;ProgressBar :value="value2" :showValue="false" /&gt;
&lt;h3&gt;Indeterminate&lt;/h3&gt; &lt;h3&gt;Indeterminate&lt;/h3&gt;
&lt;ProgressBar mode=&quot;indeterminate&quot; style=&quot;height: .5em&quot; /&gt; &lt;ProgressBar mode="indeterminate" style="height: .5em" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,8 +10,8 @@ import RadioButton from 'primevue/radiobutton';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Two-way value binding is defined using the standard v-model directive.</p> <p>Two-way value binding is defined using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;RadioButton inputId=&quot;city1&quot; name=&quot;city&quot; value=&quot;Chicago&quot; v-model=&quot;city&quot; /&gt; &lt;RadioButton inputId="city1" name="city" value="Chicago" v-model="city" /&gt;
&lt;RadioButton inputId=&quot;city2&quot; name=&quot;city&quot; value=&quot;Los Angeles&quot; v-model=&quot;city&quot; /&gt; &lt;RadioButton inputId="city2" name="city" value="Los Angeles" v-model="city" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
export default { export default {
@ -139,43 +139,43 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;RadioButton&lt;/h1&gt; &lt;h1&gt;RadioButton&lt;/h1&gt;
&lt;p&gt;RadioButton is an extension to standard radio button element with theming.&lt;/p&gt; &lt;p&gt;RadioButton is an extension to standard radio button element with theming.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;RadioButton id=&quot;city1&quot; name=&quot;city&quot; value=&quot;Chicago&quot; v-model=&quot;city&quot; /&gt; &lt;RadioButton id="city1" name="city" value="Chicago" v-model="city" /&gt;
&lt;label for=&quot;city1&quot; class=&quot;p-radiobutton-label&quot;&gt;Chicago&lt;/label&gt; &lt;label for="city1" class="p-radiobutton-label"&gt;Chicago&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;RadioButton id=&quot;city2&quot; name=&quot;city&quot; value=&quot;Los Angeles&quot; v-model=&quot;city&quot; /&gt; &lt;RadioButton id="city2" name="city" value="Los Angeles" v-model="city" /&gt;
&lt;label for=&quot;city2&quot; class=&quot;p-radiobutton-label&quot;&gt;Los Angeles&lt;/label&gt; &lt;label for="city2" class="p-radiobutton-label"&gt;Los Angeles&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;RadioButton id=&quot;city3&quot; name=&quot;city&quot; value=&quot;New York&quot; v-model=&quot;city&quot; /&gt; &lt;RadioButton id="city3" name="city" value="New York" v-model="city" /&gt;
&lt;label for=&quot;city3&quot; class=&quot;p-radiobutton-label&quot;&gt;New York&lt;/label&gt; &lt;label for="city3" class="p-radiobutton-label"&gt;New York&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12&quot;&gt; &lt;div class="p-col-12"&gt;
&lt;RadioButton id=&quot;city4&quot; name=&quot;city&quot; value=&quot;San Francisco&quot; v-model=&quot;city&quot; /&gt; &lt;RadioButton id="city4" name="city" value="San Francisco" v-model="city" /&gt;
&lt;label for=&quot;city4&quot; class=&quot;p-radiobutton-label&quot;&gt;San Francisco&lt;/label&gt; &lt;label for="city4" class="p-radiobutton-label"&gt;San Francisco&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;p&gt;Selected City: &lt;span style=&quot;font-weight: bold&quot;&gt;{{this.city}}&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Selected City: &lt;span style="font-weight: bold"&gt;{{this.city}}&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;Dynamic Values, Preselection, Value Binding and Disabled Option&lt;/h3&gt; &lt;h3&gt;Dynamic Values, Preselection, Value Binding and Disabled Option&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div v-for=&quot;theme of themes&quot; :key=&quot;theme.key&quot; class=&quot;p-col-12&quot;&gt; &lt;div v-for="theme of themes" :key="theme.key" class="p-col-12"&gt;
&lt;RadioButton :id=&quot;theme.key&quot; name=&quot;theme&quot; :value=&quot;theme&quot; v-model=&quot;selectedTheme&quot; :disabled=&quot;theme.key === 'U'&quot; /&gt; &lt;RadioButton :id="theme.key" name="theme" :value="theme" v-model="selectedTheme" :disabled="theme.key === 'U'" /&gt;
&lt;label :for=&quot;theme.key&quot; class=&quot;p-radiobutton-label&quot;&gt;{{theme.name}}&lt;/label&gt; &lt;label :for="theme.key" class="p-radiobutton-label"&gt;{{theme.name}}&lt;/label&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;p&gt;Selected Theme: &lt;span style=&quot;font-weight: bold&quot;&gt;{{this.selectedTheme}}&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Selected Theme: &lt;span style="font-weight: bold"&gt;{{this.selectedTheme}}&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,19 +10,19 @@ import Rating from 'primevue/rating';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Two-way value binding is defined using v-model.</p> <p>Two-way value binding is defined using v-model.</p>
<CodeHighlight> <CodeHighlight>
&lt;Rating v-model=&quot;val&quot; /&gt; &lt;Rating v-model="val" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Number of Stars</h3> <h3>Number of Stars</h3>
<p>Number of stars to display is defined with <i>stars</i> property, default is 5.</p> <p>Number of stars to display is defined with <i>stars</i> property, default is 5.</p>
<CodeHighlight> <CodeHighlight>
&lt;Rating v-model=&quot;val&quot; :stars=&quot;7&quot;/&gt; &lt;Rating v-model="val" :stars="7"/&gt;
</CodeHighlight> </CodeHighlight>
<h3>Cancel</h3> <h3>Cancel</h3>
<p>A cancel icon is displayed to reset the value by default, set <i>cancel</i> as false to remove this option.</p> <p>A cancel icon is displayed to reset the value by default, set <i>cancel</i> as false to remove this option.</p>
<CodeHighlight> <CodeHighlight>
&lt;Rating v-model=&quot;val&quot; :cancel=&quot;false&quot; /&gt; &lt;Rating v-model="val" :cancel="false" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -141,25 +141,25 @@ import Rating from 'primevue/rating';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Rating&lt;/h1&gt; &lt;h1&gt;Rating&lt;/h1&gt;
&lt;p&gt;Rating component is a star based selection input.&lt;/p&gt; &lt;p&gt;Rating component is a star based selection input.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic {{val1}}&lt;/h3&gt; &lt;h3 class="first"&gt;Basic {{val1}}&lt;/h3&gt;
&lt;Rating v-model=&quot;val1&quot; /&gt; &lt;Rating v-model="val1" /&gt;
&lt;h3&gt;No Cancel {{val2}}&lt;/h3&gt; &lt;h3&gt;No Cancel {{val2}}&lt;/h3&gt;
&lt;Rating v-model=&quot;val2&quot; :cancel=&quot;false&quot; /&gt; &lt;Rating v-model="val2" :cancel="false" /&gt;
&lt;h3&gt;ReadOnly&lt;/h3&gt; &lt;h3&gt;ReadOnly&lt;/h3&gt;
&lt;Rating :value=&quot;5&quot; :readonly=&quot;true&quot; :stars=&quot;10&quot; :cancel=&quot;false&quot; /&gt; &lt;Rating :value="5" :readonly="true" :stars="10" :cancel="false" /&gt;
&lt;h3&gt;Disabled&lt;/h3&gt; &lt;h3&gt;Disabled&lt;/h3&gt;
&lt;Rating :value=&quot;8&quot; :disabled=&quot;true&quot; :stars=&quot;10&quot; /&gt; &lt;Rating :value="8" :disabled="true" :stars="10" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,7 +10,7 @@ import SelectButton from 'primevue/selectbutton';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<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> <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> <CodeHighlight>
&lt;SelectButton v-model=&quot;selectedCity&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; /&gt; &lt;SelectButton v-model="selectedCity" :options="cities" optionLabel="name" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -31,18 +31,18 @@ export default {
<h3>Multiple</h3> <h3>Multiple</h3>
<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> <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> <CodeHighlight>
&lt;SelectButton v-model=&quot;selectedCity&quot; :options=&quot;cities&quot; optionLabel=&quot;brand&quot; :multiple=&quot;true&quot; /&gt; &lt;SelectButton v-model="selectedCity" :options="cities" optionLabel="brand" :multiple="true" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Templating</h3> <h3>Templating</h3>
<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> <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> <CodeHighlight>
<template v-pre> <template v-pre>
&lt;SelectButton v-model=&quot;selectedCar&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot;&gt; &lt;SelectButton v-model="selectedCar" :options="cars" optionLabel="brand"&gt;
&lt;template #option=&quot;slotProps&quot;&gt; &lt;template #option="slotProps"&gt;
&lt;div style=&quot;text-align: center; padding: 1em; width: 125px&quot;&gt; &lt;div style="text-align: center; padding: 1em; width: 125px"&gt;
&lt;img :alt=&quot;slotProps.option.brand&quot; :src=&quot;'/demo/images/car/' + slotProps.option.brand + '.png'&quot; style=&quot;width:48px&quot; /&gt; &lt;img :alt="slotProps.option.brand" :src="'/demo/images/car/' + slotProps.option.brand + '.png'" style="width:48px" /&gt;
&lt;div style=&quot;margin-top: 1em&quot;&gt;{{slotProps.option.brand}}&lt;/div&gt; &lt;div style="margin-top: 1em"&gt;{{slotProps.option.brand}}&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/SelectButton&gt; &lt;/SelectButton&gt;
@ -156,32 +156,32 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;SelectButton&lt;/h1&gt; &lt;h1&gt;SelectButton&lt;/h1&gt;
&lt;p&gt;SelectButton is a form component to choose a value from a list of options using button elements.&lt;/p&gt; &lt;p&gt;SelectButton is a form component to choose a value from a list of options using button elements.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Single&lt;/h3&gt; &lt;h3 class="first"&gt;Single&lt;/h3&gt;
&lt;SelectButton v-model=&quot;selectedCity&quot; :options=&quot;cities&quot; optionLabel=&quot;name&quot; /&gt; &lt;SelectButton v-model="selectedCity" :options="cities" optionLabel="name" /&gt;
&lt;p&gt;Selected City: &lt;span style=&quot;font-weight: bold&quot;&gt;{{selectedCity}}&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Selected City: &lt;span style="font-weight: bold"&gt;{{selectedCity}}&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;Multiple&lt;/h3&gt; &lt;h3&gt;Multiple&lt;/h3&gt;
&lt;SelectButton v-model=&quot;selectedCars&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot; :multiple=&quot;true&quot; /&gt; &lt;SelectButton v-model="selectedCars" :options="cars" optionLabel="brand" :multiple="true" /&gt;
&lt;p&gt;Selected Cars: &lt;span style=&quot;font-weight: bold&quot;&gt;{{selectedCars}}&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Selected Cars: &lt;span style="font-weight: bold"&gt;{{selectedCars}}&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;Custom Content&lt;/h3&gt; &lt;h3&gt;Custom Content&lt;/h3&gt;
&lt;SelectButton v-model=&quot;selectedCar&quot; :options=&quot;cars&quot; optionLabel=&quot;brand&quot;&gt; &lt;SelectButton v-model="selectedCar" :options="cars" optionLabel="brand"&gt;
&lt;template #option=&quot;slotProps&quot;&gt; &lt;template #option="slotProps"&gt;
&lt;div style=&quot;text-align: center; padding: 1em; width: 125px&quot;&gt; &lt;div style="text-align: center; padding: 1em; width: 125px"&gt;
&lt;img :alt=&quot;slotProps.option.brand&quot; :src=&quot;'/demo/images/car/' + slotProps.option.brand + '.png'&quot; style=&quot;width:48px&quot; /&gt; &lt;img :alt="slotProps.option.brand" :src="'/demo/images/car/' + slotProps.option.brand + '.png'" style="width:48px" /&gt;
&lt;div style=&quot;margin-top: 1em&quot;&gt;{{slotProps.option.brand}}&lt;/div&gt; &lt;div style="margin-top: 1em"&gt;{{slotProps.option.brand}}&lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/SelectButton&gt; &lt;/SelectButton&gt;
&lt;p&gt;Selected Car: &lt;span style=&quot;font-weight: bold&quot;&gt;{{selectedCar}}&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Selected Car: &lt;span style="font-weight: bold"&gt;{{selectedCar}}&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,17 +10,17 @@ import Sidebar from 'primevue/sidebar';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Sidebar is used as a container and visibility is controlled with <i>visible</i> property.</p> <p>Sidebar is used as a container and visibility is controlled with <i>visible</i> property.</p>
<CodeHighlight> <CodeHighlight>
&lt;Sidebar :visible.sync=&quot;visibleLeft&quot; :baseZIndex=&quot;1000&quot;&gt; &lt;Sidebar :visible.sync="visibleLeft" :baseZIndex="1000"&gt;
Content Content
&lt;/Sidebar&gt; &lt;/Sidebar&gt;
&lt;Button icon=&quot;pi pi-arrow-right&quot; @click=&quot;visibleLeft = true&quot; /&gt; &lt;Button icon="pi pi-arrow-right" @click="visibleLeft = true" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Position</h3> <h3>Position</h3>
<p>Sidebar can either be located on the left (default), right, top or bottom of the screen depending on the <i>position</i> property.</p> <p>Sidebar can either be located on the left (default), right, top or bottom of the screen depending on the <i>position</i> property.</p>
<CodeHighlight> <CodeHighlight>
&lt;Sidebar :visible.sync=&quot;visibleRight&quot; :baseZIndex=&quot;1000&quot; position=&quot;right&quot;&gt; &lt;Sidebar :visible.sync="visibleRight" :baseZIndex="1000" position="right"&gt;
Content Content
&lt;/Sidebar&gt; &lt;/Sidebar&gt;
</CodeHighlight> </CodeHighlight>
@ -28,15 +28,15 @@ import Sidebar from 'primevue/sidebar';
<h3>Size</h3> <h3>Size</h3>
<p>Sidebar size can be changed using a fixed value or using one of the three predefined ones.</p> <p>Sidebar size can be changed using a fixed value or using one of the three predefined ones.</p>
<CodeHighlight> <CodeHighlight>
&lt;Sidebar :visible.sync=&quot;visibleLeft&quot; class=&quot;p-sidebar-sm&quot;&gt;&lt;/Sidebar&gt; &lt;Sidebar :visible.sync="visibleLeft" class="p-sidebar-sm"&gt;&lt;/Sidebar&gt;
&lt;Sidebar :visible.sync=&quot;visibleLeft&quot; class=&quot;p-sidebar-md&quot;&gt;&lt;/Sidebar&gt; &lt;Sidebar :visible.sync="visibleLeft" class="p-sidebar-md"&gt;&lt;/Sidebar&gt;
&lt;Sidebar :visible.sync=&quot;visibleLeft&quot; class=&quot;p-sidebar-lg&quot;&gt;&lt;/Sidebar&gt; &lt;Sidebar :visible.sync="visibleLeft" class="p-sidebar-lg"&gt;&lt;/Sidebar&gt;
</CodeHighlight> </CodeHighlight>
<h3>Full Screen</h3> <h3>Full Screen</h3>
<p>Full screen mode allows the sidebar to cover whole screen.</p> <p>Full screen mode allows the sidebar to cover whole screen.</p>
<CodeHighlight> <CodeHighlight>
&lt;Sidebar :visible.sync=&quot;visibleFull&quot; position=&quot;full&quot;&gt; &lt;Sidebar :visible.sync="visibleFull" position="full"&gt;
Content Content
&lt;/Sidebar&gt; &lt;/Sidebar&gt;
</CodeHighlight> </CodeHighlight>
@ -200,49 +200,49 @@ import Sidebar from 'primevue/sidebar';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Sidebar&lt;/h1&gt; &lt;h1&gt;Sidebar&lt;/h1&gt;
&lt;p&gt;Sidebar is a panel component displayed as an overlay at the edges of the screen.&lt;/p&gt; &lt;p&gt;Sidebar is a panel component displayed as an overlay at the edges of the screen.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Sidebar :visible.sync=&quot;visibleLeft&quot; :baseZIndex=&quot;1000&quot;&gt; &lt;Sidebar :visible.sync="visibleLeft" :baseZIndex="1000"&gt;
&lt;h1 style=&quot;fontWeight:normal&quot;&gt;Left Sidebar&lt;/h1&gt; &lt;h1 style="fontWeight:normal"&gt;Left Sidebar&lt;/h1&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleLeft = false&quot; label=&quot;Save&quot; class=&quot;p-button-success&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button type="button" @click="visibleLeft = false" label="Save" class="p-button-success" style="margin-right:.25em" /&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleLeft = false&quot; label=&quot;Cancel&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button type="button" @click="visibleLeft = false" label="Cancel" class="p-button-secondary"/&gt;
&lt;/Sidebar&gt; &lt;/Sidebar&gt;
&lt;Sidebar :visible.sync=&quot;visibleRight&quot; :baseZIndex=&quot;1000&quot; position=&quot;right&quot;&gt; &lt;Sidebar :visible.sync="visibleRight" :baseZIndex="1000" position="right"&gt;
&lt;h1 style=&quot;fontWeight:normal&quot;&gt;Right Sidebar&lt;/h1&gt; &lt;h1 style="fontWeight:normal"&gt;Right Sidebar&lt;/h1&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleRight = false&quot; label=&quot;Save&quot; class=&quot;p-button-success&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button type="button" @click="visibleRight = false" label="Save" class="p-button-success" style="margin-right:.25em" /&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleRight = false&quot; label=&quot;Cancel&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button type="button" @click="visibleRight = false" label="Cancel" class="p-button-secondary"/&gt;
&lt;/Sidebar&gt; &lt;/Sidebar&gt;
&lt;Sidebar :visible.sync=&quot;visibleTop&quot; :baseZIndex=&quot;1000&quot; position=&quot;top&quot;&gt; &lt;Sidebar :visible.sync="visibleTop" :baseZIndex="1000" position="top"&gt;
&lt;h1 style=&quot;fontWeight:normal&quot;&gt;Top Sidebar&lt;/h1&gt; &lt;h1 style="fontWeight:normal"&gt;Top Sidebar&lt;/h1&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleTop = false&quot; label=&quot;Save&quot; class=&quot;p-button-success&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button type="button" @click="visibleTop = false" label="Save" class="p-button-success" style="margin-right:.25em" /&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleTop = false&quot; label=&quot;Cancel&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button type="button" @click="visibleTop = false" label="Cancel" class="p-button-secondary"/&gt;
&lt;/Sidebar&gt; &lt;/Sidebar&gt;
&lt;Sidebar :visible.sync=&quot;visibleBottom&quot; :baseZIndex=&quot;1000&quot; position=&quot;bottom&quot;&gt; &lt;Sidebar :visible.sync="visibleBottom" :baseZIndex="1000" position="bottom"&gt;
&lt;h1 style=&quot;fontWeight:normal&quot;&gt;Bottom Sidebar&lt;/h1&gt; &lt;h1 style="fontWeight:normal"&gt;Bottom Sidebar&lt;/h1&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleBottom = false&quot; label=&quot;Save&quot; class=&quot;p-button-success&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button type="button" @click="visibleBottom = false" label="Save" class="p-button-success" style="margin-right:.25em" /&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleBottom = false&quot; label=&quot;Cancel&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button type="button" @click="visibleBottom = false" label="Cancel" class="p-button-secondary"/&gt;
&lt;/Sidebar&gt; &lt;/Sidebar&gt;
&lt;Sidebar :visible.sync=&quot;visibleFull&quot; :baseZIndex=&quot;1000&quot; position=&quot;full&quot;&gt; &lt;Sidebar :visible.sync="visibleFull" :baseZIndex="1000" position="full"&gt;
&lt;h1 style=&quot;fontWeight:normal&quot;&gt;Full Screen&lt;/h1&gt; &lt;h1 style="fontWeight:normal"&gt;Full Screen&lt;/h1&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleFull = false&quot; label=&quot;Save&quot; class=&quot;p-button-success&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button type="button" @click="visibleFull = false" label="Save" class="p-button-success" style="margin-right:.25em" /&gt;
&lt;Button type=&quot;button&quot; @click=&quot;visibleFull = false&quot; label=&quot;Cancel&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button type="button" @click="visibleFull = false" label="Cancel" class="p-button-secondary"/&gt;
&lt;/Sidebar&gt; &lt;/Sidebar&gt;
&lt;Button icon=&quot;pi pi-arrow-right&quot; @click=&quot;visibleLeft = true&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button icon="pi pi-arrow-right" @click="visibleLeft = true" style="margin-right:.25em" /&gt;
&lt;Button icon=&quot;pi pi-arrow-left&quot; @click=&quot;visibleRight = true&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button icon="pi pi-arrow-left" @click="visibleRight = true" style="margin-right:.25em" /&gt;
&lt;Button icon=&quot;pi pi-arrow-down&quot; @click=&quot;visibleTop = true&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button icon="pi pi-arrow-down" @click="visibleTop = true" style="margin-right:.25em" /&gt;
&lt;Button icon=&quot;pi pi-arrow-up&quot; @click=&quot;visibleBottom = true&quot; style=&quot;margin-right:.25em&quot; /&gt; &lt;Button icon="pi pi-arrow-up" @click="visibleBottom = true" style="margin-right:.25em" /&gt;
&lt;Button icon=&quot;pi pi-th-large&quot; @click=&quot;visibleFull = true&quot; /&gt; &lt;Button icon="pi pi-th-large" @click="visibleFull = true" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,14 +10,14 @@ import Slider from 'primevue/slider';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Two-way binding is defined using the standard v-model directive.</p> <p>Two-way binding is defined using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;Slider v-model=&quot;value&quot; /&gt; &lt;Slider v-model="value" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Range</h3> <h3>Range</h3>
<p>Range slider provides two handles to define two values. Enable <i>range</i> property and bind an array to implement a range slider.</p> <p>Range slider provides two handles to define two values. Enable <i>range</i> property and bind an array to implement a range slider.</p>
<CodeHighlight> <CodeHighlight>
&lt;Slider v-model=&quot;value&quot; :range=&quot;true&quot; /&gt; &lt;Slider v-model="value" :range="true" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -33,19 +33,19 @@ export default {
<h3>Orientation</h3> <h3>Orientation</h3>
<p>Default layout of slider is horizontal, use <i>orientation</i> property for the alternative vertical mode.</p> <p>Default layout of slider is horizontal, use <i>orientation</i> property for the alternative vertical mode.</p>
<CodeHighlight> <CodeHighlight>
&lt;Slider v-model=&quot;value&quot; orientation=&quot;vertical&quot; /&gt; &lt;Slider v-model="value" orientation="vertical" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Step</h3> <h3>Step</h3>
<p>Step factor is 1 by default and can be customized with <i>step</i> option.</p> <p>Step factor is 1 by default and can be customized with <i>step</i> option.</p>
<CodeHighlight> <CodeHighlight>
&lt;Slider v-model=&quot;value&quot; :step=&quot;20&quot; /&gt; &lt;Slider v-model="value" :step="20" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Min-Max</h3> <h3>Min-Max</h3>
<p>Boundaries are specified with min and max attributes.</p> <p>Boundaries are specified with min and max attributes.</p>
<CodeHighlight> <CodeHighlight>
&lt;Slider v-model=&quot;value&quot; :step=&quot;20&quot; :min=&quot;50&quot; :max=&quot;200&quot; /&gt; &lt;Slider v-model="value" :step="20" :min="50" :max="200" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -175,29 +175,29 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Slider&lt;/h1&gt; &lt;h1&gt;Slider&lt;/h1&gt;
&lt;p&gt;Slider is an input component to provide a numerical input.&lt;/p&gt; &lt;p&gt;Slider is an input component to provide a numerical input.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic: {{value1}}&lt;/h3&gt; &lt;h3 class="first"&gt;Basic: {{value1}}&lt;/h3&gt;
&lt;Slider v-model=&quot;value1&quot; /&gt; &lt;Slider v-model="value1" /&gt;
&lt;h3&gt;Input: {{value2}}&lt;/h3&gt; &lt;h3&gt;Input: {{value2}}&lt;/h3&gt;
&lt;InputText v-model.number=&quot;value2&quot; /&gt; &lt;InputText v-model.number="value2" /&gt;
&lt;Slider v-model=&quot;value2&quot; /&gt; &lt;Slider v-model="value2" /&gt;
&lt;h3&gt;Step: {{value3}}&lt;/h3&gt; &lt;h3&gt;Step: {{value3}}&lt;/h3&gt;
&lt;Slider v-model=&quot;value3&quot; :step=&quot;20&quot; /&gt; &lt;Slider v-model="value3" :step="20" /&gt;
&lt;h3&gt;Range: {{value4}}&lt;/h3&gt; &lt;h3&gt;Range: {{value4}}&lt;/h3&gt;
&lt;Slider v-model=&quot;value4&quot; :range=&quot;true&quot; /&gt; &lt;Slider v-model="value4" :range="true" /&gt;
&lt;h3&gt;Vertical: {{value5}}&lt;/h3&gt; &lt;h3&gt;Vertical: {{value5}}&lt;/h3&gt;
&lt;Slider v-model=&quot;value5&quot; orientation=&quot;vertical&quot; /&gt; &lt;Slider v-model="value5" orientation="vertical" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,19 +10,19 @@ import Spinner from 'primevue/spinner';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Two-way value binding is defined using standard v-model directive.</p> <p>Two-way value binding is defined using standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;Spinner v-model=&quot;value&quot; /&gt; &lt;Spinner v-model="value" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Min-Max</h3> <h3>Min-Max</h3>
<p>Boundaries are specified with <i>min</i> and <i>max</i> attributes.</p> <p>Boundaries are specified with <i>min</i> and <i>max</i> attributes.</p>
<CodeHighlight> <CodeHighlight>
&lt;Spinner v-model=&quot;value&quot; :min=&quot;0&quot; :max=&quot;100&quot; /&gt; &lt;Spinner v-model="value" :min="0" :max="100" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Step</h3> <h3>Step</h3>
<p>Step factor is 1 by default and can be customized with <i>step</i> option.</p> <p>Step factor is 1 by default and can be customized with <i>step</i> option.</p>
<CodeHighlight> <CodeHighlight>
&lt;Spinner v-model=&quot;value&quot; :step=&quot;0.25&quot; /&gt; &lt;Spinner v-model="value" :step="0.25" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -112,25 +112,25 @@ import Spinner from 'primevue/spinner';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Spinner&lt;/h1&gt; &lt;h1&gt;Spinner&lt;/h1&gt;
&lt;p&gt;Spinner is an input component to provide a numerical input.&lt;/p&gt; &lt;p&gt;Spinner is an input component to provide a numerical input.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;Spinner v-model=&quot;value1&quot; /&gt; &lt;Spinner v-model="value1" /&gt;
&lt;h3&gt;Min/Max&lt;/h3&gt; &lt;h3&gt;Min/Max&lt;/h3&gt;
&lt;Spinner v-model=&quot;value2&quot; :min=&quot;0&quot; :max=&quot;100&quot; /&gt; &lt;Spinner v-model="value2" :min="0" :max="100" /&gt;
&lt;h3&gt;Step&lt;/h3&gt; &lt;h3&gt;Step&lt;/h3&gt;
&lt;Spinner v-model=&quot;value3&quot; :step=&quot;0.25&quot; /&gt; &lt;Spinner v-model="value3" :step="0.25" /&gt;
&lt;h3&gt;Disabled&lt;/h3&gt; &lt;h3&gt;Disabled&lt;/h3&gt;
&lt;Spinner v-model=&quot;value4&quot; :disabled=&quot;true&quot; /&gt; &lt;Spinner v-model="value4" :disabled="true" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -49,7 +49,7 @@ export default {
</CodeHighlight> </CodeHighlight>
<CodeHighlight> <CodeHighlight>
&lt;SplitButton label=&quot;Save&quot; icon=&quot;pi pi-plus&quot; :model=&quot;items&quot;&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-plus" :model="items"&gt;&lt;/SplitButton&gt;
</CodeHighlight> </CodeHighlight>
<h3>Severity</h3> <h3>Severity</h3>
@ -64,12 +64,12 @@ export default {
</ul> </ul>
<CodeHighlight> <CodeHighlight>
&lt;SplitButton label=&quot;Save&quot; icon=&quot;pi pi-plus&quot; :model=&quot;items&quot;&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-plus" :model="items"&gt;&lt;/SplitButton&gt;
&lt;SplitButton label=&quot;Save&quot; icon=&quot;pi pi-plus&quot; :model=&quot;items&quot; class=&quot;p-button-secondary&quot;&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-plus" :model="items" class="p-button-secondary"&gt;&lt;/SplitButton&gt;
&lt;SplitButton label=&quot;Save&quot; icon=&quot;pi pi-plus&quot; :model=&quot;items&quot; class=&quot;p-button-success&quot;&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-plus" :model="items" class="p-button-success"&gt;&lt;/SplitButton&gt;
&lt;SplitButton label=&quot;Save&quot; icon=&quot;pi pi-plus&quot; :model=&quot;items&quot; class=&quot;p-button-info&quot;&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-plus" :model="items" class="p-button-info"&gt;&lt;/SplitButton&gt;
&lt;SplitButton label=&quot;Save&quot; icon=&quot;pi pi-plus&quot; :model=&quot;items&quot; class=&quot;p-button-warning&quot;&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-plus" :model="items" class="p-button-warning"&gt;&lt;/SplitButton&gt;
&lt;SplitButton label=&quot;Save&quot; icon=&quot;pi pi-plus&quot; :model=&quot;items&quot; class=&quot;p-button-danger&quot;&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-plus" :model="items" class="p-button-danger"&gt;&lt;/SplitButton&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -189,16 +189,16 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;SplitButton&lt;/h1&gt; &lt;h1&gt;SplitButton&lt;/h1&gt;
&lt;p&gt;SplitButton groups a set of commands in an overlay with a default command.&lt;/p&gt; &lt;p&gt;SplitButton groups a set of commands in an overlay with a default command.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;SplitButton label=&quot;Save&quot; icon=&quot;pi pi-plus&quot; @click=&quot;save&quot; :model=&quot;items&quot;&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-plus" @click="save" :model="items"&gt;&lt;/SplitButton&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -11,13 +11,13 @@ import {TabView, TabPanel} from 'primevue/tabview';
<p>Tabview element consists of one or more TabPanel elements. Header of the tab is defined using header attribute.</p> <p>Tabview element consists of one or more TabPanel elements. Header of the tab is defined using header attribute.</p>
<CodeHighlight> <CodeHighlight>
&lt;TabView&gt; &lt;TabView&gt;
&lt;TabPanel header=&quot;Header I&quot;&gt; &lt;TabPanel header="Header I"&gt;
Content I Content I
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Header II&quot;&gt; &lt;TabPanel header="Header II"&gt;
Content II Content II
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Header III&quot;&gt; &lt;TabPanel header="Header III"&gt;
Content III Content III
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;/TabView&gt; &lt;/TabView&gt;
@ -27,18 +27,18 @@ import {TabView, TabPanel} from 'primevue/tabview';
<p>Tabs can be controlled programmatically using active property that defines the active tab.</p> <p>Tabs can be controlled programmatically using active property that defines the active tab.</p>
<CodeHighlight> <CodeHighlight>
&lt;div&gt; &lt;div&gt;
&lt;Button icon=&quot;pi pi-chevron-left&quot; @click=&quot;prev&quot;/&gt; &lt;Button icon="pi pi-chevron-left" @click="prev"/&gt;
&lt;Button icon=&quot;pi pi-chevron-right&quot; @click=&quot;next&quot;/&gt; &lt;Button icon="pi pi-chevron-right" @click="next"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;TabView&gt; &lt;TabView&gt;
&lt;TabPanel header=&quot;Header I&quot; :active=&quot;activeIndex === 0&quot;&gt; &lt;TabPanel header="Header I" :active="activeIndex === 0"&gt;
Content I Content I
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Header II&quot; :active=&quot;activeIndex === 1&quot;&gt; &lt;TabPanel header="Header II" :active="activeIndex === 1"&gt;
Content II Content II
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Header III&quot; :active=&quot;activeIndex === 2&quot;&gt; &lt;TabPanel header="Header III" :active="activeIndex === 2"&gt;
Content III Content III
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;/TabView&gt; &lt;/TabView&gt;
@ -66,13 +66,13 @@ export default {
<p>A tab can be disabled to prevent the content to be displayed by setting the disabled property on a panel.</p> <p>A tab can be disabled to prevent the content to be displayed by setting the disabled property on a panel.</p>
<CodeHighlight> <CodeHighlight>
&lt;TabView&gt; &lt;TabView&gt;
&lt;TabPanel header=&quot;Header I&quot;&gt; &lt;TabPanel header="Header I"&gt;
Content I Content I
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Header II&quot;&gt; &lt;TabPanel header="Header II"&gt;
Content II Content II
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Header III&quot; :disabled=&quot;true&quot;&gt; &lt;TabPanel header="Header III" :disabled="true"&gt;
Content III Content III
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;/TabView&gt; &lt;/TabView&gt;
@ -81,18 +81,18 @@ export default {
<h3>Header Template</h3> <h3>Header Template</h3>
<p>Header of a tab supports templating to place custom html content instead of strings as well.</p> <p>Header of a tab supports templating to place custom html content instead of strings as well.</p>
<CodeHighlight> <CodeHighlight>
&lt;TabView class=&quot;tabview-custom&quot;&gt; &lt;TabView class="tabview-custom"&gt;
&lt;TabPanel&gt; &lt;TabPanel&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-calendar&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-calendar"&gt;&lt;/i&gt;
&lt;span&gt;Header I&lt;/span&gt; &lt;span&gt;Header I&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
Content I Content I
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel&gt; &lt;TabPanel&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;span&gt;Header II&lt;/span&gt; &lt;span&gt;Header II&lt;/span&gt;
&lt;i class=&quot;pi pi-user&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-user"&gt;&lt;/i&gt;
&lt;/template&gt; &lt;/template&gt;
Content II Content II
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
@ -202,27 +202,27 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;TabView&lt;/h1&gt; &lt;h1&gt;TabView&lt;/h1&gt;
&lt;p&gt;TabView is a container component to group content with tabs.&lt;/p&gt; &lt;p&gt;TabView is a container component to group content with tabs.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Default&lt;/h3&gt; &lt;h3 class="first"&gt;Default&lt;/h3&gt;
&lt;TabView&gt; &lt;TabView&gt;
&lt;TabPanel header=&quot;Godfather I&quot;&gt; &lt;TabPanel header="Godfather I"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war, The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war,
but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is
just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Godfather II&quot;&gt; &lt;TabPanel header="Godfather II"&gt;
Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall, Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall,
deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills
his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy. his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Godfather III&quot;&gt; &lt;TabPanel header="Godfather III"&gt;
The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal
interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father. interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father.
A decade earlier, he gave custody of his two children to Kay, who has since remarried. A decade earlier, he gave custody of his two children to Kay, who has since remarried.
@ -230,23 +230,23 @@ export default {
&lt;/TabView&gt; &lt;/TabView&gt;
&lt;h3&gt;Programmatic&lt;/h3&gt; &lt;h3&gt;Programmatic&lt;/h3&gt;
&lt;div style=&quot;padding: .5em 0&quot;&gt; &lt;div style="padding: .5em 0"&gt;
&lt;Button icon=&quot;pi pi-chevron-left&quot; @click=&quot;prev&quot; class=&quot;p-button-secondary&quot; /&gt; &lt;Button icon="pi pi-chevron-left" @click="prev" class="p-button-secondary" /&gt;
&lt;Button icon=&quot;pi pi-chevron-right&quot; @click=&quot;next&quot; style=&quot;margin-left: .5em&quot; class=&quot;p-button-secondary&quot;/&gt; &lt;Button icon="pi pi-chevron-right" @click="next" style="margin-left: .5em" class="p-button-secondary"/&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;TabView&gt; &lt;TabView&gt;
&lt;TabPanel header=&quot;Godfather I&quot; :active=&quot;activeIndex === 0&quot;&gt; &lt;TabPanel header="Godfather I" :active="activeIndex === 0"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war, The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war,
but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is
just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Godfather II&quot; :active=&quot;activeIndex === 1&quot;&gt; &lt;TabPanel header="Godfather II" :active="activeIndex === 1"&gt;
Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall, Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall,
deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills
his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy. his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Godfather III&quot; :active=&quot;activeIndex === 2&quot;&gt; &lt;TabPanel header="Godfather III" :active="activeIndex === 2"&gt;
The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal
interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father. interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father.
A decade earlier, he gave custody of his two children to Kay, who has since remarried. A decade earlier, he gave custody of his two children to Kay, who has since remarried.
@ -255,29 +255,29 @@ export default {
&lt;h3&gt;Disabled&lt;/h3&gt; &lt;h3&gt;Disabled&lt;/h3&gt;
&lt;TabView&gt; &lt;TabView&gt;
&lt;TabPanel header=&quot;Godfather I&quot;&gt; &lt;TabPanel header="Godfather I"&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war, The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war,
but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is but does not intend to become part of his father's business. Through Michael's life the nature of the family business becomes clear. The business of the family is
just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Godfather II&quot;&gt; &lt;TabPanel header="Godfather II"&gt;
Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall, Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall,
deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills
his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy. his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Godfather III&quot;&gt; &lt;TabPanel header="Godfather III"&gt;
The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal
interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father. interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father.
A decade earlier, he gave custody of his two children to Kay, who has since remarried. A decade earlier, he gave custody of his two children to Kay, who has since remarried.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header=&quot;Godfather IV&quot; :disabled=&quot;true&quot;&gt;&lt;/TabPanel&gt; &lt;TabPanel header="Godfather IV" :disabled="true"&gt;&lt;/TabPanel&gt;
&lt;/TabView&gt; &lt;/TabView&gt;
&lt;h3&gt;Custom Headers&lt;/h3&gt; &lt;h3&gt;Custom Headers&lt;/h3&gt;
&lt;TabView class=&quot;tabview-custom&quot;&gt; &lt;TabView class="tabview-custom"&gt;
&lt;TabPanel&gt; &lt;TabPanel&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-calendar&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-calendar"&gt;&lt;/i&gt;
&lt;span&gt;Godfather I&lt;/span&gt; &lt;span&gt;Godfather I&lt;/span&gt;
&lt;/template&gt; &lt;/template&gt;
The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war, The story begins as Don Vito Corleone, the head of a New York Mafia family, overseeshis daughter's wedding. His beloved son ichael has just come home from the war,
@ -285,19 +285,19 @@ export default {
just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel&gt; &lt;TabPanel&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;span&gt;Godfather II&lt;/span&gt; &lt;span&gt;Godfather II&lt;/span&gt;
&lt;i class=&quot;pi pi-user&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-user"&gt;&lt;/i&gt;
&lt;/template&gt; &lt;/template&gt;
Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall, Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, TheGodfather parallels the young Vito Corleone's rise with his son Michael's spiritual fall,
deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills deepening The Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills
his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy. his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy.
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel&gt; &lt;TabPanel&gt;
&lt;template slot=&quot;header&quot;&gt; &lt;template slot="header"&gt;
&lt;i class=&quot;pi pi-search&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-search"&gt;&lt;/i&gt;
&lt;span&gt;Godfather III&lt;/span&gt; &lt;span&gt;Godfather III&lt;/span&gt;
&lt;i class=&quot;pi pi-cog&quot;&gt;&lt;/i&gt; &lt;i class="pi pi-cog"&gt;&lt;/i&gt;
&lt;/template&gt; &lt;/template&gt;
The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal The Godfather Part III is set in 1979 and 1980. Michael has moved back to New York and taken great strides to remove the family from crime. He turns over his New York criminal
interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father. interests to longtime enforcer Joey Zasa. He uses his wealth in an attempt to rehabilitate his reputation through numerous philanthropic acts, administered by a foundation named after his father.

View File

@ -10,13 +10,13 @@ import Textarea from 'primevue/textarea';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>A model can be bound using the standard v-model directive.</p> <p>A model can be bound using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;Textarea v-model=&quot;value&quot; rows=&quot;5&quot; cols=&quot;30&quot; /&gt; &lt;Textarea v-model="value" rows="5" cols="30" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>AutoResize</h3> <h3>AutoResize</h3>
<p>In auto resize mode, textarea grows instead of displaying a scrollbar.</p> <p>In auto resize mode, textarea grows instead of displaying a scrollbar.</p>
<CodeHighlight> <CodeHighlight>
&lt;Textarea v-model=&quot;value&quot; :autoResize=&quot;true&quot; rows=&quot;5&quot; cols=&quot;30&quot; /&gt; &lt;Textarea v-model="value" :autoResize="true" rows="5" cols="30" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -99,22 +99,22 @@ import Textarea from 'primevue/textarea';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Textarea&lt;/h1&gt; &lt;h1&gt;Textarea&lt;/h1&gt;
&lt;p&gt;Textarea is a multi-line text input element.&lt;/p&gt; &lt;p&gt;Textarea is a multi-line text input element.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;Textarea v-model=&quot;value1&quot; rows=&quot;5&quot; cols=&quot;30&quot; /&gt; &lt;Textarea v-model="value1" rows="5" cols="30" /&gt;
&lt;h3&gt;Auto Resize&lt;/h3&gt; &lt;h3&gt;Auto Resize&lt;/h3&gt;
&lt;Textarea v-model=&quot;value2&quot; :autoResize=&quot;true&quot; rows=&quot;5&quot; cols=&quot;30&quot; /&gt; &lt;Textarea v-model="value2" :autoResize="true" rows="5" cols="30" /&gt;
&lt;h3&gt;Disabled&lt;/h3&gt; &lt;h3&gt;Disabled&lt;/h3&gt;
&lt;Textarea v-model=&quot;value3&quot; disabled rows=&quot;5&quot; cols=&quot;30&quot; /&gt; &lt;Textarea v-model="value3" disabled rows="5" cols="30" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -79,8 +79,8 @@ this.$toast.add({severity:'success', summary: 'Success Message', detail:'Order s
<h3>Showing Messages</h3> <h3>Showing Messages</h3>
<p>Show method accepts either a single message or an array of messages.</p> <p>Show method accepts either a single message or an array of messages.</p>
<CodeHighlight> <CodeHighlight>
&lt;Button label=&quot;Success&quot; class=&quot;p-button-success&quot; @click=&quot;showSuccess&quot; /&gt; &lt;Button label="Success" class="p-button-success" @click="showSuccess" /&gt;
&lt;Button @click=&quot;showMultiple&quot; label=&quot;Multiple&quot; class=&quot;p-button-warning&quot; /&gt; &lt;Button @click="showMultiple" label="Multiple" class="p-button-warning" /&gt;
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="js"> <CodeHighlight lang="js">
@ -191,55 +191,55 @@ this.$toast.removeAllGroups();
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Toast&lt;/h1&gt; &lt;h1&gt;Toast&lt;/h1&gt;
&lt;p&gt;Toast is used to display messages in an overlay.&lt;/p&gt; &lt;p&gt;Toast is used to display messages in an overlay.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation p-fluid&quot;&gt; &lt;div class="content-section implementation p-fluid"&gt;
&lt;h3&gt;Severities&lt;/h3&gt; &lt;h3&gt;Severities&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12 p-md-3&quot;&gt; &lt;div class="p-col-12 p-md-3"&gt;
&lt;Button label=&quot;Success&quot; class=&quot;p-button-success&quot; @click=&quot;showSuccess&quot; /&gt; &lt;Button label="Success" class="p-button-success" @click="showSuccess" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-3&quot;&gt; &lt;div class="p-col-12 p-md-3"&gt;
&lt;Button label=&quot;Info&quot; class=&quot;p-button-info&quot; @click=&quot;showInfo&quot; /&gt; &lt;Button label="Info" class="p-button-info" @click="showInfo" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-3&quot;&gt; &lt;div class="p-col-12 p-md-3"&gt;
&lt;Button label=&quot;Warn&quot; class=&quot;p-button-warning&quot; @click=&quot;showWarn&quot; /&gt; &lt;Button label="Warn" class="p-button-warning" @click="showWarn" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-3&quot;&gt; &lt;div class="p-col-12 p-md-3"&gt;
&lt;Button label=&quot;Error&quot; class=&quot;p-button-danger&quot; @click=&quot;showError&quot; /&gt; &lt;Button label="Error" class="p-button-danger" @click="showError" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Positions&lt;/h3&gt; &lt;h3&gt;Positions&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;Button label=&quot;Top Left&quot; @click=&quot;showTopLeft&quot; /&gt; &lt;Button label="Top Left" @click="showTopLeft" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;Button label=&quot;Bottom Left&quot; class=&quot;p-button-warning&quot; @click=&quot;showBottomLeft&quot; /&gt; &lt;Button label="Bottom Left" class="p-button-warning" @click="showBottomLeft" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-4&quot;&gt; &lt;div class="p-col-12 p-md-4"&gt;
&lt;Button label=&quot;Bottom Right&quot; class=&quot;p-button-success&quot; @click=&quot;showBottomRight&quot; /&gt; &lt;Button label="Bottom Right" class="p-button-success" @click="showBottomRight" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Options&lt;/h3&gt; &lt;h3&gt;Options&lt;/h3&gt;
&lt;div class=&quot;p-grid&quot;&gt; &lt;div class="p-grid"&gt;
&lt;div class=&quot;p-col-12 p-md-6&quot;&gt; &lt;div class="p-col-12 p-md-6"&gt;
&lt;Button @click=&quot;showMultiple&quot; label=&quot;Multiple&quot; class=&quot;p-button-warning&quot; /&gt; &lt;Button @click="showMultiple" label="Multiple" class="p-button-warning" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;p-col-12 p-md-6&quot;&gt; &lt;div class="p-col-12 p-md-6"&gt;
&lt;Button @click=&quot;showSticky&quot; label=&quot;Sticky&quot; /&gt; &lt;Button @click="showSticky" label="Sticky" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;h3&gt;Remove All&lt;/h3&gt; &lt;h3&gt;Remove All&lt;/h3&gt;
&lt;Button @click=&quot;clear&quot; label=&quot;Clear&quot; /&gt; &lt;Button @click="clear" label="Clear" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -10,7 +10,7 @@ import ToggleButton from 'primevue/togglebutton';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Two-way binding to a boolean property is defined using the standard v-model directive.</p> <p>Two-way binding to a boolean property is defined using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;ToggleButton v-model=&quot;checked&quot; /&gt; &lt;ToggleButton v-model="checked" /&gt;
</CodeHighlight> </CodeHighlight>
<p>As model is two-way binding enabled, setting the bound value as true displays the state as checked.</p> <p>As model is two-way binding enabled, setting the bound value as true displays the state as checked.</p>
@ -27,7 +27,7 @@ export default {
<h3>Labels and Icons</h3> <h3>Labels and Icons</h3>
<p>Icons and Labels can be customized using <i>onLabel</i>, <i>offLabel</i>, <i>onIcon</i> and <i>offIcon</i> properties.</p> <p>Icons and Labels can be customized using <i>onLabel</i>, <i>offLabel</i>, <i>onIcon</i> and <i>offIcon</i> properties.</p>
<CodeHighlight> <CodeHighlight>
&lt;ToggleButton v-model=&quot;checked&quot; onLabel=&quot;I confirm&quot; offLabel=&quot;I reject&quot; onIcon=&quot;pi pi-check&quot; offIcon=&quot;pi pi-times&quot; /&gt; &lt;ToggleButton v-model="checked" onLabel="I confirm" offLabel="I reject" onIcon="pi pi-check" offIcon="pi pi-times" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -180,21 +180,21 @@ export default {
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;ToggleButton&lt;/h1&gt; &lt;h1&gt;ToggleButton&lt;/h1&gt;
&lt;p&gt;ToggleButton is used to select a boolean value using a button.&lt;/p&gt; &lt;p&gt;ToggleButton is used to select a boolean value using a button.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;h3 class=&quot;first&quot;&gt;Basic&lt;/h3&gt; &lt;h3 class="first"&gt;Basic&lt;/h3&gt;
&lt;ToggleButton v-model=&quot;checked1&quot; onIcon=&quot;pi pi-check&quot; offIcon=&quot;pi pi-times&quot; /&gt; &lt;ToggleButton v-model="checked1" onIcon="pi pi-check" offIcon="pi pi-times" /&gt;
&lt;p style=&quot;font-weight: bold&quot;&gt;{{checked1}}&lt;/p&gt; &lt;p style="font-weight: bold"&gt;{{checked1}}&lt;/p&gt;
&lt;h3&gt;Customized&lt;/h3&gt; &lt;h3&gt;Customized&lt;/h3&gt;
&lt;ToggleButton v-model=&quot;checked2&quot; onLabel=&quot;I confirm&quot; offLabel=&quot;I reject&quot; onIcon=&quot;pi pi-check&quot; offIcon=&quot;pi pi-times&quot; style=&quot;width: 10em&quot; /&gt; &lt;ToggleButton v-model="checked2" onLabel="I confirm" offLabel="I reject" onIcon="pi pi-check" offIcon="pi pi-times" style="width: 10em" /&gt;
&lt;p style=&quot;font-weight: bold&quot;&gt;{{checked2}}&lt;/p&gt; &lt;p style="font-weight: bold"&gt;{{checked2}}&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;

View File

@ -11,17 +11,17 @@ import Toolbar from 'primevue/toolbar';
<p>Toolbar is a container component defined using Toolbar element. Left aligned content is placed inside a template with "left" name and similarly "right" for right alignment..</p> <p>Toolbar is a container component defined using Toolbar element. Left aligned content is placed inside a template with "left" name and similarly "right" for right alignment..</p>
<CodeHighlight> <CodeHighlight>
&lt;Toolbar&gt; &lt;Toolbar&gt;
&lt;template slot=&quot;left&quot;&gt; &lt;template slot="left"&gt;
&lt;Button label=&quot;New&quot; icon=&quot;pi pi-plus&quot; style=&quot;margin-right: .25em&quot; /&gt; &lt;Button label="New" icon="pi pi-plus" style="margin-right: .25em" /&gt;
&lt;Button label=&quot;Upload&quot; icon=&quot;pi pi-upload&quot; class=&quot;p-button-success&quot; /&gt; &lt;Button label="Upload" icon="pi pi-upload" class="p-button-success" /&gt;
&lt;i class=&quot;pi pi-bars p-toolbar-separator&quot; style=&quot;margin-right: .25em&quot; /&gt; &lt;i class="pi pi-bars p-toolbar-separator" style="margin-right: .25em" /&gt;
&lt;Button label=&quot;Save&quot; icon=&quot;pi pi-check&quot; class=&quot;p-button-warning&quot; /&gt; &lt;Button label="Save" icon="pi pi-check" class="p-button-warning" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template slot=&quot;right&quot;&gt; &lt;template slot="right"&gt;
&lt;Button icon=&quot;pi pi-search&quot; style=&quot;margin-right: .25em&quot; /&gt; &lt;Button icon="pi pi-search" style="margin-right: .25em" /&gt;
&lt;Button icon=&quot;pi pi-calendar&quot; class=&quot;p-button-success&quot; style=&quot;margin-right: .25em&quot; /&gt; &lt;Button icon="pi pi-calendar" class="p-button-success" style="margin-right: .25em" /&gt;
&lt;Button icon=&quot;pi pi-times&quot; class=&quot;p-button-danger&quot; /&gt; &lt;Button icon="pi pi-times" class="p-button-danger" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Toolbar&gt; &lt;/Toolbar&gt;
</CodeHighlight> </CodeHighlight>
@ -65,26 +65,26 @@ import Toolbar from 'primevue/toolbar';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;Toolbar&lt;/h1&gt; &lt;h1&gt;Toolbar&lt;/h1&gt;
&lt;p&gt;Toolbar is a grouping component for buttons and other content.&lt;/p&gt; &lt;p&gt;Toolbar is a grouping component for buttons and other content.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;Toolbar&gt; &lt;Toolbar&gt;
&lt;template slot=&quot;left&quot;&gt; &lt;template slot="left"&gt;
&lt;Button label=&quot;New&quot; icon=&quot;pi pi-plus&quot; style=&quot;margin-right: .25em&quot; /&gt; &lt;Button label="New" icon="pi pi-plus" style="margin-right: .25em" /&gt;
&lt;Button label=&quot;Upload&quot; icon=&quot;pi pi-upload&quot; class=&quot;p-button-success&quot; /&gt; &lt;Button label="Upload" icon="pi pi-upload" class="p-button-success" /&gt;
&lt;i class=&quot;pi pi-bars p-toolbar-separator&quot; style=&quot;margin-right: .25em&quot; /&gt; &lt;i class="pi pi-bars p-toolbar-separator" style="margin-right: .25em" /&gt;
&lt;Button label=&quot;Save&quot; icon=&quot;pi pi-check&quot; class=&quot;p-button-warning&quot; /&gt; &lt;Button label="Save" icon="pi pi-check" class="p-button-warning" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template slot=&quot;right&quot;&gt; &lt;template slot="right"&gt;
&lt;Button icon=&quot;pi pi-search&quot; style=&quot;margin-right: .25em&quot; /&gt; &lt;Button icon="pi pi-search" style="margin-right: .25em" /&gt;
&lt;Button icon=&quot;pi pi-calendar&quot; class=&quot;p-button-success&quot; style=&quot;margin-right: .25em&quot; /&gt; &lt;Button icon="pi pi-calendar" class="p-button-success" style="margin-right: .25em" /&gt;
&lt;Button icon=&quot;pi pi-times&quot; class=&quot;p-button-danger&quot; /&gt; &lt;Button icon="pi pi-times" class="p-button-danger" /&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Toolbar&gt; &lt;/Toolbar&gt;
&lt;/div&gt; &lt;/div&gt;

View File

@ -10,7 +10,7 @@ import TriStateCheckbox from 'primevue/tristatecheckbox';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>A model can be bound using the standard v-model directive.</p> <p>A model can be bound using the standard v-model directive.</p>
<CodeHighlight> <CodeHighlight>
&lt;TriStateCheckbox v-model=&quot;value&quot; /&gt; &lt;TriStateCheckbox v-model="value" /&gt;
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
@ -119,16 +119,16 @@ import TriStateCheckbox from 'primevue/tristatecheckbox';
<template v-pre> <template v-pre>
&lt;template&gt; &lt;template&gt;
&lt;div&gt; &lt;div&gt;
&lt;div class=&quot;content-section introduction&quot;&gt; &lt;div class="content-section introduction"&gt;
&lt;div class=&quot;feature-intro&quot;&gt; &lt;div class="feature-intro"&gt;
&lt;h1&gt;TriStateCheckbox&lt;/h1&gt; &lt;h1&gt;TriStateCheckbox&lt;/h1&gt;
&lt;p&gt;TriStateCheckbox is used to select either &quot;true&quot;, &quot;false&quot; or &quot;null&quot; as the value.&lt;/p&gt; &lt;p&gt;TriStateCheckbox is used to select either "true", "false" or "null" as the value.&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class=&quot;content-section implementation&quot;&gt; &lt;div class="content-section implementation"&gt;
&lt;TriStateCheckbox v-model=&quot;value&quot; /&gt; &lt;TriStateCheckbox v-model="value" /&gt;
&lt;p&gt;Value: &lt;span style=&quot;font-weight: bold&quot;&gt;{{value == null ? 'null' : value}}&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Value: &lt;span style="font-weight: bold"&gt;{{value == null ? 'null' : value}}&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;