mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42: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
|
@ -47,7 +47,8 @@ export default {
|
|||
customers: null,
|
||||
expandedRowGroups: null,
|
||||
code: {
|
||||
basic: `<DataTable :value="customers" rowGroupMode="rowspan" groupRowsBy="representative.name" sortMode="single" sortField="representative.name" :sortOrder="1" tableStyle="min-width: 50rem">
|
||||
basic: `
|
||||
<DataTable :value="customers" rowGroupMode="rowspan" groupRowsBy="representative.name" sortMode="single" sortField="representative.name" :sortOrder="1" tableStyle="min-width: 50rem">
|
||||
<Column header="#" headerStyle="width:3rem">
|
||||
<template #body="slotProps">
|
||||
{{ slotProps.index + 1 }}
|
||||
|
@ -78,7 +79,8 @@ export default {
|
|||
</Column>
|
||||
<Column field="date" header="Date" style="min-width: 100px"></Column>
|
||||
</DataTable>`,
|
||||
options: `<template>
|
||||
options: `
|
||||
<template>
|
||||
<div class="card">
|
||||
<DataTable :value="customers" rowGroupMode="rowspan" groupRowsBy="representative.name" sortMode="single" sortField="representative.name" :sortOrder="1" tableStyle="min-width: 50rem">
|
||||
<Column header="#" headerStyle="width:3rem">
|
||||
|
@ -148,7 +150,8 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `<template>
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card">
|
||||
<DataTable :value="customers" rowGroupMode="rowspan" groupRowsBy="representative.name" sortMode="single" sortField="representative.name" :sortOrder="1" tableStyle="min-width: 50rem">
|
||||
<Column header="#" headerStyle="width:3rem">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue