pull/1088/head
Cagatay Civici 2021-04-16 14:51:23 +03:00
commit 0d4dd95f1a
3 changed files with 8 additions and 6 deletions

View File

@ -355,10 +355,10 @@ export default {
<h5>Templating</h5> <h5>Templating</h5>
<Button type="button" class="p-px-3"> <Button type="button" class="p-px-3">
<img alt="logo" src="../../assets/images/logo-white.svg" style="width: 1.5rem"/> <img alt="logo" src="https://www.primefaces.org/wp-content/uploads/2020/05/placeholder.png" style="width: 1.5rem"/>
</Button> </Button>
<Button type="button" class="p-button-outlined p-button-success"> <Button type="button" class="p-button-outlined p-button-success">
<img alt="logo" src="../../assets/images/logo.svg" style="width: 1.5rem" /> <img alt="logo" src="https://www.primefaces.org/wp-content/uploads/2020/05/placeholder.png" style="width: 1.5rem" />
<span class="p-ml-2 p-text-bold">PrimeVue</span> <span class="p-ml-2 p-text-bold">PrimeVue</span>
</Button> </Button>
@ -388,7 +388,7 @@ export default {
methods: { methods: {
load(index) { load(index) {
this.loading[index] = true; this.loading[index] = true;
setTimeout(() => this.loading[index] = false, 10000); setTimeout(() => this.loading[index] = false, 1000);
} }
} }
} }
@ -545,10 +545,10 @@ export default {
<h5>Templating</h5> <h5>Templating</h5>
<Button type="button" class="p-px-3"> <Button type="button" class="p-px-3">
<img alt="logo" src="../../assets/images/logo-white.svg" style="width: 1.5rem"/> <img alt="logo" src="https://www.primefaces.org/wp-content/uploads/2020/05/placeholder.png" style="width: 1.5rem"/>
</Button> </Button>
<Button type="button" class="p-button-outlined p-button-success"> <Button type="button" class="p-button-outlined p-button-success">
<img alt="logo" src="../../assets/images/logo.svg" style="width: 1.5rem" /> <img alt="logo" src="https://www.primefaces.org/wp-content/uploads/2020/05/placeholder.png" style="width: 1.5rem" />
<span class="p-ml-2 p-text-bold">PrimeVue</span> <span class="p-ml-2 p-text-bold">PrimeVue</span>
</Button> </Button>

View File

@ -487,6 +487,7 @@ import Timeline from 'primevue/timeline';
import ToggleButton from 'primevue/togglebutton'; import ToggleButton from 'primevue/togglebutton';
import Tooltip from 'primevue/tooltip'; import Tooltip from 'primevue/tooltip';
import Tree from 'primevue/tree'; import Tree from 'primevue/tree';
import TreeSelect from 'primevue/treeselect';
import TreeTable from 'primevue/treetable'; import TreeTable from 'primevue/treetable';
import TriStateCheckbox from 'primevue/tristatecheckbox'; import TriStateCheckbox from 'primevue/tristatecheckbox';
${extImport} ${extImport}
@ -582,6 +583,7 @@ app.component('Toast', Toast);
app.component('Toolbar', Toolbar); app.component('Toolbar', Toolbar);
app.component('ToggleButton', ToggleButton); app.component('ToggleButton', ToggleButton);
app.component('Tree', Tree); app.component('Tree', Tree);
app.component('TreeSelect', TreeSelect);
app.component('TreeTable', TreeTable); app.component('TreeTable', TreeTable);
app.component('TriStateCheckbox', TriStateCheckbox); app.component('TriStateCheckbox', TriStateCheckbox);
${extElement} ${extElement}

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="TreeSelectDemo" :sources="sources" github="treeselect/TreeSelectDemo.vue"> <AppDoc name="TreeSelectDemo" :sources="sources" github="treeselect/TreeSelectDemo.vue" :service="['NodeService']" :data="['treenodes']">
<h5>Import</h5> <h5>Import</h5>
<pre v-code.script><code> <pre v-code.script><code>
import TreeSelect from 'primevue/treeselect'; import TreeSelect from 'primevue/treeselect';