From 96357a5a1be6b4725cc59844b952ec475c6b8d8a Mon Sep 17 00:00:00 2001 From: ATAKAN TEPE Date: Wed, 2 Aug 2023 13:28:16 +0300 Subject: [PATCH] add scrollTop demo for TW --- .../{StyleDoc.vue => theming/StyledDoc.vue} | 0 doc/scrolltop/theming/UnstyledDoc.vue | 54 +++++++++++++++++++ doc/scrolltop/theming/index.vue | 33 ++++++++++++ pages/scrolltop/index.vue | 11 ++-- 4 files changed, 91 insertions(+), 7 deletions(-) rename doc/scrolltop/{StyleDoc.vue => theming/StyledDoc.vue} (100%) create mode 100644 doc/scrolltop/theming/UnstyledDoc.vue create mode 100644 doc/scrolltop/theming/index.vue diff --git a/doc/scrolltop/StyleDoc.vue b/doc/scrolltop/theming/StyledDoc.vue similarity index 100% rename from doc/scrolltop/StyleDoc.vue rename to doc/scrolltop/theming/StyledDoc.vue diff --git a/doc/scrolltop/theming/UnstyledDoc.vue b/doc/scrolltop/theming/UnstyledDoc.vue new file mode 100644 index 000000000..d0092431c --- /dev/null +++ b/doc/scrolltop/theming/UnstyledDoc.vue @@ -0,0 +1,54 @@ + + + diff --git a/doc/scrolltop/theming/index.vue b/doc/scrolltop/theming/index.vue new file mode 100644 index 000000000..93881b0c7 --- /dev/null +++ b/doc/scrolltop/theming/index.vue @@ -0,0 +1,33 @@ + + + diff --git a/pages/scrolltop/index.vue b/pages/scrolltop/index.vue index b2239ece5..05ad9929e 100644 --- a/pages/scrolltop/index.vue +++ b/pages/scrolltop/index.vue @@ -6,6 +6,7 @@ :componentDocs="docs" :apiDocs="['ScrollTop']" :ptTabComponent="ptComponent" + :themingDocs="themingDoc" /> @@ -14,8 +15,8 @@ import AccessibilityDoc from '@/doc/scrolltop/AccessibilityDoc'; import BasicDoc from '@/doc/scrolltop/BasicDoc'; import ElementDoc from '@/doc/scrolltop/ElementDoc'; import ImportDoc from '@/doc/scrolltop/ImportDoc'; -import StyleDoc from '@/doc/scrolltop/StyleDoc'; import PTComponent from '@/doc/scrolltop/pt/index.vue'; +import ThemingDoc from '@/doc/scrolltop/theming/index.vue'; export default { data() { @@ -36,18 +37,14 @@ export default { label: 'Element', component: ElementDoc }, - { - id: 'style', - label: 'Style', - component: StyleDoc - }, { id: 'accessibility', label: 'Accessibility', component: AccessibilityDoc } ], - ptComponent: PTComponent + ptComponent: PTComponent, + themingDoc: ThemingDoc }; } };