primevue-mirror/pages/blockui/index.vue

59 lines
1.6 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-04-27 11:47:40 +00:00
<DocComponent title="Vue BlockUI Component" header="BlockUI" description="BlockUI can either block other components or the whole page." :componentDocs="docs" :apiDocs="['BlockUI']" :ptTabComponent="ptComponent" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/blockui/AccessibilityDoc.vue';
import BasicDoc from '@/doc/blockui/BasicDoc.vue';
import DocumentDoc from '@/doc/blockui/DocumentDoc.vue';
import ImportDoc from '@/doc/blockui/ImportDoc.vue';
import StyleDoc from '@/doc/blockui/StyleDoc.vue';
2023-04-27 11:47:40 +00:00
import PTComponent from '@/doc/blockui/pt/index.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'document',
label: 'Document',
component: DocumentDoc
},
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-04-27 11:47:40 +00:00
],
ptComponent: PTComponent
2022-09-09 20:41:18 +00:00
};
}
};
</script>
<style lang="scss" scoped>
.p-panel p {
line-height: 1.5;
margin: 0;
}
button {
margin-right: 0.5rem;
}
</style>