primevue-mirror/doc/scrolltop/theming/index.vue

50 lines
1.5 KiB
Vue
Raw Normal View History

2023-08-02 10:28:16 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
<h1>ScrollTop Theming</h1>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
2024-05-22 13:52:40 +00:00
import DocApiTable from '@/components/doc/DocApiTable.vue';
2024-05-23 11:07:36 +00:00
import { getStyleOptions } from '@/components/doc/helpers';
import TailwindDoc from './TailwindDoc.vue';
2023-08-02 10:28:16 +00:00
export default {
data() {
return {
docs: [
{
2023-08-11 10:50:32 +00:00
id: 'theming.styled',
2023-08-02 10:28:16 +00:00
label: 'Styled',
2024-05-22 13:52:40 +00:00
children: [
{
id: 'theming.classes',
label: 'CSS Classes',
description: 'List of class names used in the styled mode.',
component: DocApiTable,
data: getStyleOptions('ScrollTop')
}
]
2023-08-02 10:28:16 +00:00
},
{
2023-08-11 10:50:32 +00:00
id: 'theming.unstyled',
2023-08-02 10:28:16 +00:00
label: 'Unstyled',
description: 'Theming is implemented with the pass through properties in unstyled mode.',
children: [
{
2023-08-11 10:50:32 +00:00
id: 'theming.tailwind',
label: 'Tailwind',
component: TailwindDoc
}
]
2023-08-02 10:28:16 +00:00
}
]
};
}
};
</script>