mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Migrated demos
This commit is contained in:
parent
1f86b4906f
commit
48f92d3966
454 changed files with 3920 additions and 3920 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs" />
|
||||
<div class="card flex justify-content-center">
|
||||
<div class="card flex justify-center">
|
||||
<Select
|
||||
v-model="selectedItem"
|
||||
:options="items"
|
||||
|
@ -8,7 +8,7 @@
|
|||
optionValue="value"
|
||||
:virtualScrollerOptions="{ lazy: true, onLazyLoad: onLazyLoad, itemSize: 38, showLoader: true, loading: loading, delay: 250 }"
|
||||
placeholder="Select Item"
|
||||
class="w-full md:w-14rem"
|
||||
class="w-full md:w-56"
|
||||
/>
|
||||
</div>
|
||||
<DocSectionCode :code="code" />
|
||||
|
@ -23,13 +23,13 @@ export default {
|
|||
loading: false,
|
||||
code: {
|
||||
basic: `
|
||||
<Select v-model="selectedItem" :options="items" optionLabel="label" optionValue="value" class="w-full md:w-14rem"
|
||||
<Select v-model="selectedItem" :options="items" optionLabel="label" optionValue="value" class="w-full md:w-56"
|
||||
:virtualScrollerOptions="{ lazy: true, onLazyLoad: onLazyLoad, itemSize: 38, showLoader: true, loading: loading, delay: 250 }" placeholder="Select Item" />
|
||||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<Select v-model="selectedItem" :options="items" optionLabel="label" optionValue="value" class="w-full md:w-14rem"
|
||||
<div class="card flex justify-center">
|
||||
<Select v-model="selectedItem" :options="items" optionLabel="label" optionValue="value" class="w-full md:w-56"
|
||||
:virtualScrollerOptions="{ lazy: true, onLazyLoad: onLazyLoad, itemSize: 38, showLoader: true, loading: loading, delay: 250 }" placeholder="Select Item" />
|
||||
</div>
|
||||
</template>
|
||||
|
@ -71,8 +71,8 @@ export default {
|
|||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<Select v-model="selectedItem" :options="items" optionLabel="label" optionValue="value" class="w-full md:w-14rem"
|
||||
<div class="card flex justify-center">
|
||||
<Select v-model="selectedItem" :options="items" optionLabel="label" optionValue="value" class="w-full md:w-56"
|
||||
:virtualScrollerOptions="{ lazy: true, onLazyLoad: onLazyLoad, itemSize: 38, showLoader: true, loading: loading, delay: 250 }" placeholder="Select Item" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue