mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Docs typing updates
This commit is contained in:
parent
ca65d7dfdb
commit
cfc8136b25
739 changed files with 2027 additions and 3969 deletions
|
@ -43,16 +43,14 @@ export default {
|
|||
return {
|
||||
nodes: null,
|
||||
code: {
|
||||
basic: `
|
||||
<div class="card flex justify-content-center">
|
||||
basic: `<div class="card flex justify-content-center">
|
||||
<form @submit="onSubmit" class="flex flex-column align-items-center gap-2 w-full md:w-20rem">
|
||||
<TreeSelect v-model="value" :class="['w-full md:w-20rem', { 'p-invalid': errorMessage }]" aria-describedby="text-error" :options="nodes" placeholder="Select Item" />
|
||||
<small id="text-error" class="p-error">{{ errorMessage || ' ' }}</small>
|
||||
<Button type="submit" label="Submit" />
|
||||
</form>
|
||||
</div>`,
|
||||
options: `
|
||||
<template>
|
||||
options: `<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<form @submit="onSubmit" class="flex flex-column align-items-center gap-2 w-full md:w-20rem">
|
||||
<TreeSelect v-model="value" :class="['w-full md:w-20rem', { 'p-invalid': errorMessage }]" aria-describedby="text-error" :options="nodes" placeholder="Select Item" />
|
||||
|
@ -101,8 +99,7 @@ export default {
|
|||
}
|
||||
};
|
||||
<\/script>`,
|
||||
composition: `
|
||||
<template>
|
||||
composition: `<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<form @submit="onSubmit" class="flex flex-column align-items-center gap-2 w-full md:w-20rem">
|
||||
<TreeSelect v-model="value" :class="['w-full md:w-20rem', { 'p-invalid': errorMessage }]" aria-describedby="text-error" :options="nodes" placeholder="Select Item" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue