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-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"
|
|
|
|
/>
|
|
|
|
</div>`,
|
|
|
|
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"
|
|
|
|
/>
|
|
|
|
</div>`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|