2023-08-07 13:14:58 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
|
|
|
<div class="card flex flex-wrap justify-content-center gap-2">
|
|
|
|
<InputText
|
|
|
|
v-tooltip.right="{
|
|
|
|
value: `PrimeVue Rocks!`,
|
|
|
|
pt: {
|
|
|
|
text: 'bg-primary'
|
|
|
|
}
|
|
|
|
}"
|
|
|
|
type="text"
|
|
|
|
placeholder="PassThrough Tooltip"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
<InputText
|
2023-08-07 13:14:58 +00:00
|
|
|
v-tooltip.right="{
|
|
|
|
value: \`PrimeVue Rocks!\`,
|
|
|
|
pt: {
|
|
|
|
text: 'bg-primary'
|
|
|
|
}
|
|
|
|
}"
|
|
|
|
type="text"
|
|
|
|
placeholder="PassThrough Tooltip"
|
2023-10-15 09:38:39 +00:00
|
|
|
/>
|
|
|
|
`,
|
2023-08-16 13:58:31 +00:00
|
|
|
options: `<div class="card flex flex-wrap justify-content-center gap-2">
|
2023-08-07 13:14:58 +00:00
|
|
|
<InputText
|
|
|
|
v-tooltip.right="{
|
|
|
|
value: \`PrimeVue Rocks!\`,
|
|
|
|
pt: {
|
|
|
|
text: 'bg-primary'
|
|
|
|
}
|
|
|
|
}"
|
|
|
|
type="text"
|
|
|
|
placeholder="PassThrough Tooltip"
|
|
|
|
/>
|
2023-10-15 09:38:39 +00:00
|
|
|
</div>
|
|
|
|
`,
|
2023-08-07 13:14:58 +00:00
|
|
|
composition: `
|
|
|
|
<div class="card flex flex-wrap justify-content-center gap-2">
|
|
|
|
<InputText
|
|
|
|
v-tooltip.right="{
|
|
|
|
value: \`PrimeVue Rocks!\`,
|
|
|
|
pt: {
|
|
|
|
text: 'bg-primary'
|
|
|
|
}
|
|
|
|
}"
|
|
|
|
type="text"
|
|
|
|
placeholder="PassThrough Tooltip"
|
|
|
|
/>
|
2023-11-01 14:36:59 +00:00
|
|
|
</div>
|
|
|
|
`
|
2023-08-07 13:14:58 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|