2022-09-09 20:41:18 +00:00
< template >
2023-04-10 14:51:51 +00:00
< DocComponent title = "Vue Tabs Component" header = "TabView" description = "TabView is a container component to group content with tabs." :componentDocs ="docs" : apiDocs = "['TabView', 'TabPanel']" :ptTabComponent ="ptComponent" / >
2022-09-09 20:41:18 +00:00
< / template >
< script >
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/tabview/AccessibilityDoc.vue' ;
import BasicDoc from '@/doc/tabview/BasicDoc.vue' ;
import ControlledDoc from '@/doc/tabview/ControlledDoc.vue' ;
import DisabledDoc from '@/doc/tabview/DisabledDoc.vue' ;
import DynamicDoc from '@/doc/tabview/DynamicDoc.vue' ;
import ImportDoc from '@/doc/tabview/ImportDoc.vue' ;
import ScrollableDoc from '@/doc/tabview/ScrollableDoc.vue' ;
import StyleDoc from '@/doc/tabview/StyleDoc.vue' ;
import TemplateDoc from '@/doc/tabview/TemplateDoc.vue' ;
2023-04-10 14:51:51 +00:00
import PTComponent from '@/doc/tabview/pt/index.vue' ;
2022-09-09 20:41:18 +00:00
export default {
data ( ) {
return {
2023-02-28 08:29:30 +00:00
docs : [
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id : 'import' ,
label : 'Import' ,
component : ImportDoc
2022-09-09 20:41:18 +00:00
} ,
{
2023-02-28 08:29:30 +00:00
id : 'basic' ,
label : 'Basic' ,
component : BasicDoc
2022-09-09 20:41:18 +00:00
} ,
{
2023-02-28 08:29:30 +00:00
id : 'dynamic' ,
label : 'Dynamic' ,
component : DynamicDoc
} ,
{
id : 'controlled' ,
label : 'Controlled' ,
component : ControlledDoc
} ,
{
id : 'scrollable' ,
label : 'Scrollable' ,
component : ScrollableDoc
} ,
{
id : 'disabled' ,
label : 'Disabled' ,
component : DisabledDoc
} ,
{
id : 'template' ,
label : 'Template' ,
component : TemplateDoc
} ,
{
id : 'style' ,
label : 'Style' ,
component : StyleDoc
} ,
{
id : 'accessibility' ,
label : 'Accessibility' ,
component : AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-04-10 14:51:51 +00:00
] ,
ptComponent : PTComponent
2022-09-09 20:41:18 +00:00
} ;
}
} ;
< / script >