2025-03-01 20:47:05 +00:00
< template >
< DocComponent title = "Vue ToggleButton Component" header = "ToggleButton" description = "ToggleButton is used to select a boolean value using a button." :componentDocs ="docs" / >
< / template >
2025-03-04 07:12:51 +00:00
< script setup >
2025-03-01 20:47:05 +00:00
import BasicDoc from '@/doc/togglebutton/BasicDoc.vue' ;
import CustomizedDoc from '@/doc/togglebutton/CustomizedDoc.vue' ;
import DisabledDoc from '@/doc/togglebutton/DisabledDoc.vue' ;
import ImportDoc from '@/doc/togglebutton/ImportDoc.vue' ;
import InvalidDoc from '@/doc/togglebutton/InvalidDoc.vue' ;
import SizesDoc from '@/doc/togglebutton/SizesDoc.vue' ;
2025-03-04 07:12:51 +00:00
import { ref } from 'vue' ;
2025-03-01 20:47:05 +00:00
2025-03-04 07:12:51 +00:00
const docs = ref ( [
{
id : 'import' ,
label : 'Import' ,
component : ImportDoc
} ,
{
id : 'basic' ,
label : 'Basic' ,
component : BasicDoc
} ,
{
id : 'customized' ,
label : 'Customized' ,
component : CustomizedDoc
} ,
{
id : 'sizes' ,
label : 'Sizes' ,
component : SizesDoc
} ,
{
id : 'invalid' ,
label : 'Invalid' ,
component : InvalidDoc
} ,
{
id : 'disabled' ,
label : 'Disabled' ,
component : DisabledDoc
2025-03-01 20:47:05 +00:00
}
2025-03-04 07:12:51 +00:00
] ) ;
2025-03-01 20:47:05 +00:00
< / script >