mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Code representation style fixes
This commit is contained in:
parent
11051fc020
commit
e0fe133189
863 changed files with 4545 additions and 2404 deletions
|
@ -18,9 +18,11 @@ export default {
|
|||
selectedItem: null,
|
||||
items: Array.from({ length: 100000 }, (_, i) => ({ label: `Item #${i}`, value: i })),
|
||||
code: {
|
||||
basic: `<Dropdown v-model="selectedItem" :options="items" optionLabel="label" optionValue="value"
|
||||
basic: `
|
||||
<Dropdown v-model="selectedItem" :options="items" optionLabel="label" optionValue="value"
|
||||
:virtualScrollerOptions="{ itemSize: 38 }" placeholder="Select Item" class="w-full md:w-14rem" />`,
|
||||
options: `<template>
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<Dropdown v-model="selectedItem" :options="items" optionLabel="label" optionValue="value"
|
||||
:virtualScrollerOptions="{ itemSize: 38 }" placeholder="Select Item" class="w-full md:w-14rem" />
|
||||
|
@ -37,7 +39,8 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `<template>
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<Dropdown v-model="selectedItem" :options="items" optionLabel="label" optionValue="value"
|
||||
:virtualScrollerOptions="{ itemSize: 38 }" placeholder="Select Item" class="w-full md:w-14rem" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue