2022-09-09 20:41:18 +00:00
< template >
2024-04-18 14:22:30 +00:00
< DocComponent title = "Vue ToggleSwitch Component" header = "ToggleSwitch" description = "ToggleSwitch is used to select a boolean value." :componentDocs ="docs" :apiDocs ="['ToggleSwitch']" :ptTabComponent ="ptComponent" :themingDocs ="themingDoc" / >
2022-09-09 20:41:18 +00:00
< / template >
< script >
2024-04-18 14:22:30 +00:00
import AccessibilityDoc from '@/doc/toggleswitch/AccessibilityDoc.vue' ;
import BasicDoc from '@/doc/toggleswitch/BasicDoc.vue' ;
import DisabledDoc from '@/doc/toggleswitch/DisabledDoc.vue' ;
2024-10-23 09:52:51 +00:00
import FormDoc from '@/doc/toggleswitch/FormDoc.vue' ;
2024-04-18 14:22:30 +00:00
import ImportDoc from '@/doc/toggleswitch/ImportDoc.vue' ;
import InvalidDoc from '@/doc/toggleswitch/InvalidDoc.vue' ;
import PreselectionDoc from '@/doc/toggleswitch/PreselectionDoc.vue' ;
2024-10-02 11:09:40 +00:00
import TemplateDoc from '@/doc/toggleswitch/TemplateDoc.vue' ;
2024-04-18 14:22:30 +00:00
import PTComponent from '@/doc/toggleswitch/pt/index.vue' ;
import ThemingDoc from '@/doc/toggleswitch/theming/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
} ,
2024-10-23 09:52:51 +00:00
{
id : 'form' ,
label : 'Form' ,
component : FormDoc
} ,
2023-02-28 08:29:30 +00:00
{
id : 'preselection' ,
label : 'Preselection' ,
component : PreselectionDoc
} ,
{
id : 'invalid' ,
label : 'Invalid' ,
component : InvalidDoc
} ,
2024-10-02 11:09:40 +00:00
{
id : 'template' ,
label : 'Template' ,
component : TemplateDoc
} ,
2023-02-28 08:29:30 +00:00
{
id : 'disabled' ,
label : 'Disabled' ,
component : DisabledDoc
} ,
{
id : 'accessibility' ,
label : 'Accessibility' ,
component : AccessibilityDoc
}
2023-05-05 13:12:27 +00:00
] ,
2023-07-26 14:53:34 +00:00
ptComponent : PTComponent ,
themingDoc : ThemingDoc
2022-09-09 20:41:18 +00:00
} ;
}
} ;
< / script >