Fixed #639 - Documentation update

pull/682/head
Cagatay Civici 2020-11-25 12:04:27 +03:00
parent 17da869695
commit f7190ad875
2 changed files with 6 additions and 6 deletions

View File

@ -9,14 +9,14 @@
<div class="content-section implementation"> <div class="content-section implementation">
<Toolbar> <Toolbar>
<template v-slot:left> <template #left>
<Button label="New" icon="pi pi-plus" class="p-mr-2" /> <Button label="New" icon="pi pi-plus" class="p-mr-2" />
<Button label="Upload" icon="pi pi-upload" class="p-button-success" /> <Button label="Upload" icon="pi pi-upload" class="p-button-success" />
<i class="pi pi-bars p-toolbar-separator p-mr-2" /> <i class="pi pi-bars p-toolbar-separator p-mr-2" />
<SplitButton label="Save" icon="pi pi-check" :model="items" class="p-button-warning"></SplitButton> <SplitButton label="Save" icon="pi pi-check" :model="items" class="p-button-warning"></SplitButton>
</template> </template>
<template v-slot:right> <template #right>
<Button icon="pi pi-search" class="p-mr-2" /> <Button icon="pi pi-search" class="p-mr-2" />
<Button icon="pi pi-calendar" class="p-button-success p-mr-2" /> <Button icon="pi pi-calendar" class="p-button-success p-mr-2" />
<Button icon="pi pi-times" class="p-button-danger" /> <Button icon="pi pi-times" class="p-button-danger" />

View File

@ -14,14 +14,14 @@ import Toolbar from 'primevue/toolbar';
<pre v-code> <pre v-code>
<code> <code>
&lt;Toolbar&gt; &lt;Toolbar&gt;
&lt;template slot="left"&gt; &lt;template #left&gt;
&lt;Button label="New" icon="pi pi-plus" class="p-mr-2" /&gt; &lt;Button label="New" icon="pi pi-plus" class="p-mr-2" /&gt;
&lt;Button label="Upload" icon="pi pi-upload" class="p-button-success" /&gt; &lt;Button label="Upload" icon="pi pi-upload" class="p-button-success" /&gt;
&lt;i class="pi pi-bars p-toolbar-separator p-mr-2" /&gt; &lt;i class="pi pi-bars p-toolbar-separator p-mr-2" /&gt;
&lt;SplitButton label="Save" icon="pi pi-check" :model="items" class="p-button-warning"&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-check" :model="items" class="p-button-warning"&gt;&lt;/SplitButton&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template slot="right"&gt; &lt;template #right&gt;
&lt;Button icon="pi pi-search" class="p-mr-2" /&gt; &lt;Button icon="pi pi-search" class="p-mr-2" /&gt;
&lt;Button icon="pi pi-calendar" class="p-button-success p-mr-2" /&gt; &lt;Button icon="pi pi-calendar" class="p-button-success p-mr-2" /&gt;
&lt;Button icon="pi pi-times" class="p-button-danger" /&gt; &lt;Button icon="pi pi-times" class="p-button-danger" /&gt;
@ -68,14 +68,14 @@ import Toolbar from 'primevue/toolbar';
<pre v-code> <pre v-code>
<code><template v-pre> <code><template v-pre>
&lt;Toolbar&gt; &lt;Toolbar&gt;
&lt;template slot="left"&gt; &lt;template #left&gt;
&lt;Button label="New" icon="pi pi-plus" class="p-mr-2" /&gt; &lt;Button label="New" icon="pi pi-plus" class="p-mr-2" /&gt;
&lt;Button label="Upload" icon="pi pi-upload" class="p-button-success" /&gt; &lt;Button label="Upload" icon="pi pi-upload" class="p-button-success" /&gt;
&lt;i class="pi pi-bars p-toolbar-separator p-mr-2" /&gt; &lt;i class="pi pi-bars p-toolbar-separator p-mr-2" /&gt;
&lt;SplitButton label="Save" icon="pi pi-check" :model="items" class="p-button-warning"&gt;&lt;/SplitButton&gt; &lt;SplitButton label="Save" icon="pi pi-check" :model="items" class="p-button-warning"&gt;&lt;/SplitButton&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template slot="right"&gt; &lt;template #right&gt;
&lt;Button icon="pi pi-search" class="p-mr-2" /&gt; &lt;Button icon="pi pi-search" class="p-mr-2" /&gt;
&lt;Button icon="pi pi-calendar" class="p-button-success p-mr-2" /&gt; &lt;Button icon="pi pi-calendar" class="p-button-success p-mr-2" /&gt;
&lt;Button icon="pi pi-times" class="p-button-danger" /&gt; &lt;Button icon="pi pi-times" class="p-button-danger" /&gt;