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

41 lines
751 B
Vue
Raw Normal View History

2023-04-27 11:56:31 +00:00
<template>
<DocSectionText v-bind="$attrs"> </DocSectionText>
<div class="card flex justify-content-center">
<Skeleton :pt="{ root: { class: 'w-3rem h-3rem' } }" />
</div>
<DocSectionCode :code="code" />
</template>
<script>
export default {
data() {
return {
code: {
2023-09-22 12:54:14 +00:00
basic: `
<Skeleton
2023-04-27 11:56:31 +00:00
:pt="{
root: { class: 'w-3rem h-3rem' }
}"
/>`,
2023-09-22 12:54:14 +00:00
options: `
<template>
2023-04-27 11:56:31 +00:00
<Skeleton
:pt="{
root: { class: 'w-3rem h-3rem' }
}"
/>
</template>`,
2023-09-22 12:54:14 +00:00
composition: `
<template>
2023-04-27 11:56:31 +00:00
<Skeleton
:pt="{
root: { class: 'w-3rem h-3rem' }
}"
/>
</template>`
}
};
}
};
</script>