mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
New code highlight spacing
This commit is contained in:
parent
0a416e0545
commit
ce649d5360
743 changed files with 3945 additions and 1967 deletions
|
@ -19,7 +19,8 @@ export default {
|
|||
items: [],
|
||||
code: {
|
||||
basic: `
|
||||
<AutoComplete v-model="value" dropdown :suggestions="items" @complete="search" />`,
|
||||
<AutoComplete v-model="value" dropdown :suggestions="items" @complete="search" />
|
||||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -43,7 +44,8 @@ export default {
|
|||
}
|
||||
}
|
||||
};
|
||||
<\/script>`,
|
||||
<\/script>
|
||||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -62,7 +64,8 @@ const search = (event) => {
|
|||
|
||||
items.value = event.query ? [...Array(10).keys()].map((item) => event.query + '-' + item) : _items;
|
||||
}
|
||||
<\/script>`
|
||||
<\/script>
|
||||
`
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue