mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Docs typing updates
This commit is contained in:
parent
ca65d7dfdb
commit
cfc8136b25
739 changed files with 2027 additions and 3969 deletions
|
@ -37,8 +37,7 @@ export default {
|
|||
return {
|
||||
items: null,
|
||||
code: {
|
||||
basic: `
|
||||
<VirtualScroller :items="items" :itemSize="50" showLoader :delay="250" class="border-1 surface-border border-round" style="width: 200px; height: 200px">
|
||||
basic: `<VirtualScroller :items="items" :itemSize="50" showLoader :delay="250" class="border-1 surface-border border-round" style="width: 200px; height: 200px">
|
||||
<template v-slot:item="{ item, options }">
|
||||
<div :class="['flex align-items-center p-2', { 'surface-hover': options.odd }]" style="height: 50px">{{ item }}</div>
|
||||
</template>
|
||||
|
@ -54,8 +53,7 @@ export default {
|
|||
</div>
|
||||
</template>
|
||||
</VirtualScroller>`,
|
||||
options: `
|
||||
<template>
|
||||
options: `<template>
|
||||
<div class="card flex flex-wrap justify-content-center gap-5">
|
||||
<div>
|
||||
<span class="font-bold block mb-2">Modal</span>
|
||||
|
@ -93,8 +91,7 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `
|
||||
<template>
|
||||
composition: `<template>
|
||||
<div class="card flex flex-wrap justify-content-center gap-5">
|
||||
<div>
|
||||
<span class="font-bold block mb-2">Modal</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue