mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Code representation style fixes
This commit is contained in:
parent
11051fc020
commit
e0fe133189
863 changed files with 4545 additions and 2404 deletions
|
@ -62,7 +62,8 @@ export default {
|
|||
lazyLoading: false,
|
||||
loadLazyTimeout: null,
|
||||
code: {
|
||||
basic: `<DataTable :value="virtualCars" scrollable scrollHeight="400px" tableStyle="min-width: 50rem"
|
||||
basic: `
|
||||
<DataTable :value="virtualCars" scrollable scrollHeight="400px" tableStyle="min-width: 50rem"
|
||||
:virtualScrollerOptions="{ lazy: true, onLazyLoad: loadCarsLazy, itemSize: 46, delay: 200, showLoader: true, loading: lazyLoading, numToleratedItems: 10 }">
|
||||
<Column field="id" header="Id" style="width: 20%">
|
||||
<template #loading>
|
||||
|
@ -100,7 +101,8 @@ export default {
|
|||
</template>
|
||||
</Column>
|
||||
</DataTable>`,
|
||||
options: `<template>
|
||||
options: `
|
||||
<template>
|
||||
<div class="card">
|
||||
<DataTable :value="virtualCars" scrollable scrollHeight="400px" tableStyle="min-width: 50rem"
|
||||
:virtualScrollerOptions="{ lazy: true, onLazyLoad: loadCarsLazy, itemSize: 46, delay: 200, showLoader: true, loading: lazyLoading, numToleratedItems: 10 }">
|
||||
|
@ -184,7 +186,8 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `<template>
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card">
|
||||
<DataTable :value="virtualCars" scrollable scrollHeight="400px" tableStyle="min-width: 50rem"
|
||||
:virtualScrollerOptions="{ lazy: true, onLazyLoad: loadCarsLazy, itemSize: 46, delay: 200, showLoader: true, loading: lazyLoading, numToleratedItems: 10 }">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue