mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Docs typing updates
This commit is contained in:
parent
ca65d7dfdb
commit
cfc8136b25
739 changed files with 2027 additions and 3969 deletions
|
@ -30,8 +30,7 @@ export default {
|
|||
return {
|
||||
items: [{ separator: true }, { label: 'Profile', icon: 'pi pi-fw pi-user' }, { label: 'Settings', icon: 'pi pi-fw pi-cog' }, { separator: true }],
|
||||
code: {
|
||||
basic: `
|
||||
<Menu :model="items">
|
||||
basic: `<Menu :model="items">
|
||||
<template #start>
|
||||
<button @click="profileClick" class="w-full p-link flex align-items-center p-2 pl-3 text-color hover:surface-200 border-noround">
|
||||
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" class="mr-2" shape="circle" />
|
||||
|
@ -48,8 +47,7 @@ export default {
|
|||
</button>
|
||||
</template>
|
||||
</Menu>`,
|
||||
options: `
|
||||
<template>
|
||||
options: `<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<Menu :model="items">
|
||||
<template #start>
|
||||
|
@ -91,8 +89,7 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `
|
||||
<template>
|
||||
composition: `<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<Menu :model="items">
|
||||
<template #start>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue