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
|
@ -71,7 +71,8 @@ export default {
|
|||
]
|
||||
},
|
||||
code: {
|
||||
basic: `<OrganizationChart :value="data" collapsible>
|
||||
basic: `
|
||||
<OrganizationChart :value="data" collapsible>
|
||||
<template #country="slotProps">
|
||||
<div class="flex flex-column align-items-center">
|
||||
<img :alt="slotProps.node.label" src="https://primefaces.org/cdn/primevue/images/flag/flag_placeholder.png" :class="\`w-2rem shadow-2 flag flag-\${slotProps.node.data}\`" />
|
||||
|
@ -82,7 +83,8 @@ export default {
|
|||
<span>{{slotProps.node.data.label}}</span>
|
||||
</template>
|
||||
</OrganizationChart>`,
|
||||
options: `<template>
|
||||
options: `
|
||||
<template>
|
||||
<div class="card overflow-x-auto">
|
||||
<OrganizationChart :value="data" collapsible>
|
||||
<template #country="slotProps">
|
||||
|
@ -154,7 +156,8 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `<template>
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card overflow-x-auto">
|
||||
<OrganizationChart :value="data" collapsible>
|
||||
<template #country="slotProps">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue