demo fixes
parent
83d9e58e5d
commit
59451e279a
|
@ -681,7 +681,7 @@ export default {
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" class="mr-2" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" class="mr-2" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<PanelMenu :model="items" :expandedKeys="expandedKeys" />
|
<PanelMenu :model="items" v-model:expandedKeys="expandedKeys" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -867,7 +867,7 @@ export default {
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" class="mr-2" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" class="mr-2" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<PanelMenu :model="items" :expandedKeys="expandedKeys" />
|
<PanelMenu :model="items" v-model:expandedKeys="expandedKeys" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -1053,7 +1053,7 @@ export default {
|
||||||
<p-button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" class="mr-2"></p-button>
|
<p-button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" class="mr-2"></p-button>
|
||||||
<p-button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll"></p-button>
|
<p-button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll"></p-button>
|
||||||
</div>
|
</div>
|
||||||
<p-panelmenu :model="items" :expanded-keys="expandedKeys"></p-panelmenu>
|
<p-panelmenu :model="items" v-model:expanded-keys="expandedKeys"></p-panelmenu>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
|
|
|
@ -212,7 +212,7 @@ export default class NodeService {
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<Tree :value="nodes" :expandedKeys="expandedKeys"></Tree>
|
<Tree :value="nodes" v-model:expandedKeys="expandedKeys"></Tree>
|
||||||
|
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
@ -894,7 +894,7 @@ export default {
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<Tree :value="nodes" :expandedKeys="expandedKeys"></Tree>
|
<Tree :value="nodes" v-model:expandedKeys="expandedKeys"></Tree>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -958,7 +958,7 @@ export default {
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<Tree :value="nodes" :expandedKeys="expandedKeys"></Tree>
|
<Tree :value="nodes" v-model:expandedKeys="expandedKeys"></Tree>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -1018,7 +1018,7 @@ export default {
|
||||||
<p-button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll"></p-button>
|
<p-button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll"></p-button>
|
||||||
<p-button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll"></p-button>
|
<p-button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll"></p-button>
|
||||||
</div>
|
</div>
|
||||||
<p-tree :value="nodes" :expanded-keys="expandedKeys"></p-tree>
|
<p-tree :value="nodes" v-model:expanded-keys="expandedKeys"></p-tree>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<Tree :value="nodes" :expandedKeys="expandedKeys"></Tree>
|
<Tree v-model:expandedKeys="expandedKeys" :value="nodes"></Tree>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -647,7 +647,7 @@ export default {
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<TreeTable :value="nodes" :expandedKeys="expandedKeys">
|
<TreeTable :value="nodes" v-model:expandedKeys="expandedKeys">
|
||||||
<Column field="name" header="Name" :expander="true"></Column>
|
<Column field="name" header="Name" :expander="true"></Column>
|
||||||
<Column field="size" header="Size"></Column>
|
<Column field="size" header="Size"></Column>
|
||||||
<Column field="type" header="Type"></Column>
|
<Column field="type" header="Type"></Column>
|
||||||
|
@ -1917,7 +1917,7 @@ export default {
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<TreeTable :value="nodes" :expandedKeys="expandedKeys">
|
<TreeTable :value="nodes" v-model:expandedKeys="expandedKeys">
|
||||||
<Column field="name" header="Name" :expander="true"></Column>
|
<Column field="name" header="Name" :expander="true"></Column>
|
||||||
<Column field="size" header="Size"></Column>
|
<Column field="size" header="Size"></Column>
|
||||||
<Column field="type" header="Type"></Column>
|
<Column field="type" header="Type"></Column>
|
||||||
|
@ -2008,7 +2008,7 @@ button {
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<TreeTable :value="nodes" :expandedKeys="expandedKeys">
|
<TreeTable :value="nodes" v-model:expandedKeys="expandedKeys">
|
||||||
<Column field="name" header="Name" :expander="true"></Column>
|
<Column field="name" header="Name" :expander="true"></Column>
|
||||||
<Column field="size" header="Size"></Column>
|
<Column field="size" header="Size"></Column>
|
||||||
<Column field="type" header="Type"></Column>
|
<Column field="type" header="Type"></Column>
|
||||||
|
@ -2093,7 +2093,7 @@ button {
|
||||||
<p-button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll"></p-button>
|
<p-button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll"></p-button>
|
||||||
<p-button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll"></p-button>
|
<p-button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll"></p-button>
|
||||||
</div>
|
</div>
|
||||||
<p-treetable :value="nodes" :expanded-keys="expandedKeys">
|
<p-treetable :value="nodes" v-model:expanded-keys="expandedKeys">
|
||||||
<p-column field="name" header="Name" :expander="true"></p-column>
|
<p-column field="name" header="Name" :expander="true"></p-column>
|
||||||
<p-column field="size" header="Size"></p-column>
|
<p-column field="size" header="Size"></p-column>
|
||||||
<p-column field="type" header="Type"></p-column>
|
<p-column field="type" header="Type"></p-column>
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
<Button type="button" icon="pi pi-plus" label="Expand All" @click="expandAll" />
|
||||||
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
<Button type="button" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
|
||||||
</div>
|
</div>
|
||||||
<TreeTable :value="nodes" :expandedKeys="expandedKeys">
|
<TreeTable v-model:expandedKeys="expandedKeys" :value="nodes">
|
||||||
<Column field="name" header="Name" :expander="true"></Column>
|
<Column field="name" header="Name" :expander="true"></Column>
|
||||||
<Column field="size" header="Size"></Column>
|
<Column field="size" header="Size"></Column>
|
||||||
<Column field="type" header="Type"></Column>
|
<Column field="type" header="Type"></Column>
|
||||||
|
|
Loading…
Reference in New Issue