mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Code representation style fixes
This commit is contained in:
parent
11051fc020
commit
e0fe133189
863 changed files with 4545 additions and 2404 deletions
|
@ -22,7 +22,8 @@ export default {
|
|||
return {
|
||||
items: null,
|
||||
code: {
|
||||
basic: `<VirtualScroller :items="items" :itemSize="[50, 100]" orientation="both" class="border-1 surface-border border-round" style="width: 200px; height: 200px">
|
||||
basic: `
|
||||
<VirtualScroller :items="items" :itemSize="[50, 100]" orientation="both" 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">
|
||||
<template v-for="(el, index) of item" :key="index">
|
||||
|
@ -31,7 +32,8 @@ export default {
|
|||
</div>
|
||||
</template>
|
||||
</VirtualScroller>`,
|
||||
options: `<template>
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<VirtualScroller :items="items" :itemSize="[50, 100]" orientation="both" class="border-1 surface-border border-round" style="width: 200px; height: 200px">
|
||||
<template v-slot:item="{ item, options }">
|
||||
|
@ -57,7 +59,8 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `<template>
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<VirtualScroller :items="items" :itemSize="[50, 100]" orientation="both" class="border-1 surface-border border-round" style="width: 200px; height: 200px">
|
||||
<template v-slot:item="{ item, options }">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue