mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Introduced new code display
This commit is contained in:
parent
cd004e9c53
commit
0a416e0545
12 changed files with 109 additions and 83 deletions
|
@ -29,7 +29,8 @@ export default {
|
|||
<div v-for="category of categories" :key="category.key" class="flex align-items-center">
|
||||
<Checkbox v-model="selectedCategories" :inputId="category.key" name="category" :value="category.name" />
|
||||
<label :for="category.key">{{ category.name }}</label>
|
||||
</div>`,
|
||||
</div>
|
||||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -56,7 +57,8 @@ export default {
|
|||
};
|
||||
}
|
||||
};
|
||||
<\/script>`,
|
||||
<\/script>
|
||||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -79,7 +81,8 @@ const categories = ref([
|
|||
{name: "Research", key: "R"}
|
||||
]);
|
||||
const selectedCategories = ref(['Marketing']);
|
||||
<\/script>`
|
||||
<\/script>
|
||||
`
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue