mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Docs typing updates
This commit is contained in:
parent
ca65d7dfdb
commit
cfc8136b25
739 changed files with 2027 additions and 3969 deletions
|
@ -57,8 +57,7 @@ export default {
|
|||
{ label: 'Out of Stock', value: 'OUTOFSTOCK' }
|
||||
],
|
||||
code: {
|
||||
basic: `
|
||||
<DataTable v-model:editingRows="editingRows" :value="products" editMode="row" dataKey="id"
|
||||
basic: `<DataTable v-model:editingRows="editingRows" :value="products" editMode="row" dataKey="id"
|
||||
@row-edit-save="onRowEditSave" tableClass="editable-cells-table" tableStyle="min-width: 50rem">
|
||||
<Column field="code" header="Code" style="width: 20%">
|
||||
<template #editor="{ data, field }">
|
||||
|
@ -92,8 +91,7 @@ export default {
|
|||
</Column>
|
||||
<Column :rowEditor="true" style="width: 10%; min-width: 8rem" bodyStyle="text-align:center"></Column>
|
||||
</DataTable>`,
|
||||
options: `
|
||||
<template>
|
||||
options: `<template>
|
||||
<div class="card p-fluid">
|
||||
<DataTable v-model:editingRows="editingRows" :value="products" editMode="row" dataKey="id"
|
||||
@row-edit-save="onRowEditSave" tableClass="editable-cells-table" tableStyle="min-width: 50rem">
|
||||
|
@ -184,8 +182,7 @@ export default {
|
|||
padding-bottom: 0.6rem;
|
||||
}
|
||||
</style>`,
|
||||
composition: `
|
||||
<template>
|
||||
composition: `<template>
|
||||
<div class="card p-fluid">
|
||||
<DataTable v-model:editingRows="editingRows" :value="products" editMode="row" dataKey="id"
|
||||
@row-edit-save="onRowEditSave" tableClass="editable-cells-table" tableStyle="min-width: 50rem">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue