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

38 lines
748 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-08-16 13:58:31 +00:00
basic: `<Skeleton
2023-04-27 11:56:31 +00:00
:pt="{
root: { class: 'w-3rem h-3rem' }
}"
/>`,
2023-08-16 13:58:31 +00:00
options: `<template>
2023-04-27 11:56:31 +00:00
<Skeleton
:pt="{
root: { class: 'w-3rem h-3rem' }
}"
/>
</template>`,
2023-08-16 13:58:31 +00:00
composition: `<template>
2023-04-27 11:56:31 +00:00
<Skeleton
:pt="{
root: { class: 'w-3rem h-3rem' }
}"
/>
</template>`
}
};
}
};
</script>