Code representation style fixes

This commit is contained in:
Tuğçe Küçükoğlu 2023-09-22 15:54:14 +03:00
parent 11051fc020
commit e0fe133189
863 changed files with 4545 additions and 2404 deletions

View file

@ -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">