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

38 lines
711 B
Vue
Raw Normal View History

2023-04-28 08:54:50 +00:00
<template>
<DocSectionText v-bind="$attrs"></DocSectionText>
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
<DynamicDialog
:pt="{
root: { class: 'w-12 sm:w-9 md:w-6' }
}"
/>`,
options: `
<template>
<DynamicDialog
:pt="{
root: { class: 'w-12 sm:w-9 md:w-6' }
}"
/>
</template>`,
composition: `
<template>
<DynamicDialog
:pt="{
root: { class: 'w-12 sm:w-9 md:w-6' }
}"
/>
</template>`
}
};
}
};
</script>