pull/5701/head
tugcekucukoglu 2024-05-06 18:23:59 +03:00
parent e1367fd494
commit fd76fe68a1
2 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@
<p>OrderList requires an array as its value bound with the <i>v-model</i> directive and <i>item</i> template for its content.</p> <p>OrderList requires an array as its value bound with the <i>v-model</i> directive and <i>item</i> template for its content.</p>
</DocSectionText> </DocSectionText>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<OrderList v-model="products" dataKey="id" breakpoint="1400px" pt:list:root="w-full md:w-14rem"> <OrderList v-model="products" dataKey="id" breakpoint="1400px" pt:pcList:root="w-full md:w-14rem">
<template #item="{ item }"> <template #item="{ item }">
{{ item.name }} {{ item.name }}
</template> </template>
@ -21,7 +21,7 @@ export default {
products: null, products: null,
code: { code: {
basic: ` basic: `
<OrderList v-model="products" dataKey="id" breakpoint="1400px" pt:list:root="w-full md:w-14rem"> <OrderList v-model="products" dataKey="id" breakpoint="1400px" pt:pcList:root="w-full md:w-14rem">
<template #item="{ item }"> <template #item="{ item }">
{{ item.name }} {{ item.name }}
</template> </template>
@ -30,7 +30,7 @@ export default {
options: ` options: `
<template> <template>
<div class="card lg:flex lg:justify-content-center"> <div class="card lg:flex lg:justify-content-center">
<OrderList v-model="products" dataKey="id" breakpoint="1400px" pt:list:root="w-full md:w-14rem"> <OrderList v-model="products" dataKey="id" breakpoint="1400px" pt:pcList:root="w-full md:w-14rem">
<template #item="{ item }"> <template #item="{ item }">
{{ item.name }} {{ item.name }}
</template> </template>
@ -55,7 +55,7 @@ export default {
composition: ` composition: `
<template> <template>
<div class="card lg:flex lg:justify-content-center"> <div class="card lg:flex lg:justify-content-center">
<OrderList v-model="products" dataKey="id" breakpoint="1400px" pt:list:root="w-full md:w-14rem"> <OrderList v-model="products" dataKey="id" breakpoint="1400px" pt:pcList:root="w-full md:w-14rem">
<template #item="{ item }"> <template #item="{ item }">
{{ item.name }} {{ item.name }}
</template> </template>

View File

@ -24,14 +24,14 @@ export default {
basic: ` basic: `
<Panel <Panel
:pt="{ :pt="{
root: { root: {
class='"border-1 border-solid' class='"border-1 border-solid'
}, },
header: { header: {
'data-test-id': 'testid', 'data-test-id': 'testid',
class: 'bg-blue-500', class: 'bg-blue-500',
onClick: onHeaderClick onClick: onHeaderClick
} }
}" }"
> >
` `