primevue-mirror/doc/fieldset/pt/PTDoc.vue

76 lines
3.4 KiB
Vue
Raw Normal View History

2023-04-10 14:00:54 +00:00
<template>
<DocSectionText v-bind="$attrs"> </DocSectionText>
<div class="card">
2023-04-19 08:13:06 +00:00
<Fieldset legend="Header" :toggleable="true" :pt="{ legend: { class: 'bg-primary' }, legendTitle: { class: 'text-white' }, togglerIcon: { class: 'text-white' } }">
2023-04-10 14:00:54 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</Fieldset>
</div>
<DocSectionCode :code="code" />
</template>
<script>
export default {
data() {
return {
code: {
2023-09-22 12:54:14 +00:00
basic: `
<Fieldset
2023-04-19 08:13:06 +00:00
legend="Header"
:toggleable="true"
:pt="{
legend: { class: 'bg-primary' },
legendTitle: { class: 'text-white' },
togglerIcon: { class: 'text-white' }
}">
2023-04-10 14:00:54 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
2023-10-15 09:38:39 +00:00
</Fieldset>
`,
2023-09-22 12:54:14 +00:00
options: `
<template>
2023-04-10 14:00:54 +00:00
<div class="card">
2023-04-19 08:13:06 +00:00
<Fieldset
legend="Header"
:toggleable="true"
:pt="{
legend: { class: 'bg-primary' },
legendTitle: { class: 'text-white' },
togglerIcon: { class: 'text-white' }
}">
2023-04-10 14:00:54 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</Fieldset>
</div>
2023-10-15 09:38:39 +00:00
</template>
`,
2023-09-22 12:54:14 +00:00
composition: `
<template>
2023-04-10 14:00:54 +00:00
<div class="card">
2023-04-19 08:13:06 +00:00
<Fieldset
legend="Header"
:toggleable="true"
:pt="{
legend: { class: 'bg-primary' },
legendTitle: { class: 'text-white' },
togglerIcon: { class: 'text-white' }
}">
2023-04-10 14:00:54 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</Fieldset>
</div>
</template>`
}
};
}
};
</script>