mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Docs typing updates
This commit is contained in:
parent
ca65d7dfdb
commit
cfc8136b25
739 changed files with 2027 additions and 3969 deletions
|
@ -38,8 +38,7 @@ export default {
|
|||
return {
|
||||
customers: null,
|
||||
code: {
|
||||
basic: `
|
||||
<DataTable :value="customers" paginator :rows="5" :rowsPerPageOptions="[5, 10, 20, 50]" tableStyle="min-width: 50rem"
|
||||
basic: `<DataTable :value="customers" paginator :rows="5" :rowsPerPageOptions="[5, 10, 20, 50]" tableStyle="min-width: 50rem"
|
||||
paginatorTemplate="RowsPerPageDropdown FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink"
|
||||
currentPageReportTemplate="{first} to {last} of {totalRecords}">
|
||||
<template #paginatorstart>
|
||||
|
@ -53,8 +52,7 @@ export default {
|
|||
<Column field="company" header="Company" style="width: 25%"></Column>
|
||||
<Column field="representative.name" header="Representative" style="width: 25%"></Column>
|
||||
</DataTable>`,
|
||||
options: `
|
||||
<template>
|
||||
options: `<template>
|
||||
<div class="card">
|
||||
<DataTable :value="customers" paginator :rows="5" :rowsPerPageOptions="[5, 10, 20, 50]" tableStyle="min-width: 50rem"
|
||||
paginatorTemplate="RowsPerPageDropdown FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink"
|
||||
|
@ -87,8 +85,7 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `
|
||||
<template>
|
||||
composition: `<template>
|
||||
<div class="card">
|
||||
<DataTable :value="customers" paginator :rows="5" :rowsPerPageOptions="[5, 10, 20, 50]" tableStyle="min-width: 50rem"
|
||||
paginatorTemplate="RowsPerPageDropdown FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue