Skip to content

Commit

Permalink
Fixed #639 - Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 25, 2020
1 parent 17da869 commit f7190ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/views/toolbar/ToolbarDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

<div class="content-section implementation">
<Toolbar>
<template v-slot:left>
<template #left>
<Button label="New" icon="pi pi-plus" class="p-mr-2" />
<Button label="Upload" icon="pi pi-upload" class="p-button-success" />
<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>
</template>

<template v-slot:right>
<template #right>
<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-times" class="p-button-danger" />
Expand Down
8 changes: 4 additions & 4 deletions src/views/toolbar/ToolbarDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import Toolbar from 'primevue/toolbar';
<pre v-code>
<code>
&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="Upload" icon="pi pi-upload" class="p-button-success" /&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;/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-calendar" class="p-button-success p-mr-2" /&gt;
&lt;Button icon="pi pi-times" class="p-button-danger" /&gt;
Expand Down Expand Up @@ -68,14 +68,14 @@ import Toolbar from 'primevue/toolbar';
<pre v-code>
<code><template v-pre>
&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="Upload" icon="pi pi-upload" class="p-button-success" /&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;/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-calendar" class="p-button-success p-mr-2" /&gt;
&lt;Button icon="pi pi-times" class="p-button-danger" /&gt;
Expand Down

0 comments on commit f7190ad

Please sign in to comment.