Update PTDoc.vue

pull/3938/head
Tuğçe Küçükoğlu 2023-05-08 10:15:06 +03:00
parent b8699a3efe
commit 751e627b63
1 changed files with 16 additions and 4 deletions

View File

@ -6,7 +6,10 @@
:suggestions="items"
@complete="search"
:pt="{
input: { class: 'w-16rem' }
input: { class: 'w-16rem' },
item: ({ props, state, context }) => ({
class: context.selected ? 'bg-blue-300' : context.focused ? 'bg-blue-100' : undefined
})
}"
/>
</div>
@ -26,7 +29,10 @@ export default {
:suggestions="items"
@complete="search"
:pt="{
input: { class: 'w-16rem' }
input: { class: 'w-16rem' },
item: ({ props, state, context }) => ({
class: context.selected ? 'bg-blue-300' : context.focused ? 'bg-blue-100' : undefined
})
}"
/>`,
options: `
@ -37,7 +43,10 @@ export default {
:suggestions="items"
@complete="search"
:pt="{
input: { class: 'w-16rem' }
input: { class: 'w-16rem' },
item: ({ props, state, context }) => ({
class: context.selected ? 'bg-blue-300' : context.focused ? 'bg-blue-100' : undefined
})
}"
/>
</div>
@ -66,7 +75,10 @@ export default {
:suggestions="items"
@complete="search"
:pt="{
input: { class: 'w-16rem' }
input: { class: 'w-16rem' },
item: ({ props, state, context }) => ({
class: context.selected ? 'bg-blue-300' : context.focused ? 'bg-blue-100' : undefined
})
}"
/>
</div>