mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
New code highlight spacing
This commit is contained in:
parent
0a416e0545
commit
ce649d5360
743 changed files with 3945 additions and 1967 deletions
|
@ -26,7 +26,8 @@ export default {
|
|||
<template v-slot:item="{ item, options }">
|
||||
<div :class="['flex align-items-center p-2', { 'surface-hover': options.odd }]" style="height: 50px">{{ item }}</div>
|
||||
</template>
|
||||
</VirtualScroller>`,
|
||||
</VirtualScroller>
|
||||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -49,7 +50,8 @@ export default {
|
|||
this.items = Array.from({ length: 100000 }).map((_, i) => \`Item #\${i}\`);
|
||||
}
|
||||
};
|
||||
<\/script>`,
|
||||
<\/script>
|
||||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -65,7 +67,8 @@ export default {
|
|||
import { ref } from 'vue';
|
||||
|
||||
const items = ref(Array.from({ length: 100000 }).map((_, i) => \`Item #\${i}\`));
|
||||
<\/script>`
|
||||
<\/script>
|
||||
`
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue