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
|
@ -20,7 +20,8 @@ export default {
|
|||
code: {
|
||||
basic: `
|
||||
<Listbox v-model="selectedItem" :options="items" optionLabel="label" optionValue="value"
|
||||
:virtualScrollerOptions="{ itemSize: 38 }" class="w-full md:w-14rem" listStyle="height:250px" />`,
|
||||
:virtualScrollerOptions="{ itemSize: 38 }" class="w-full md:w-14rem" listStyle="height:250px" />
|
||||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -38,7 +39,8 @@ export default {
|
|||
};
|
||||
}
|
||||
};
|
||||
<\/script>`,
|
||||
<\/script>
|
||||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -52,7 +54,8 @@ import { ref } from "vue";
|
|||
|
||||
const selectedItem = ref();
|
||||
const items = ref(Array.from({ length: 100000 }, (_, i) => ({ label: \`Item #\${i}\`, value: i })));
|
||||
<\/script>`
|
||||
<\/script>
|
||||
`
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue