diff --git a/apps/showcase/doc/toggleswitch/TemplateDoc.vue b/apps/showcase/doc/toggleswitch/TemplateDoc.vue new file mode 100644 index 000000000..f8f023691 --- /dev/null +++ b/apps/showcase/doc/toggleswitch/TemplateDoc.vue @@ -0,0 +1,70 @@ + + + Custom content for icon is displayed with the handle slot that takes an check state as a parameter. + + + + + + + + + + + + diff --git a/apps/showcase/pages/toggleswitch/index.vue b/apps/showcase/pages/toggleswitch/index.vue index ca1c54930..24fdeaab7 100755 --- a/apps/showcase/pages/toggleswitch/index.vue +++ b/apps/showcase/pages/toggleswitch/index.vue @@ -9,6 +9,7 @@ import DisabledDoc from '@/doc/toggleswitch/DisabledDoc.vue'; import ImportDoc from '@/doc/toggleswitch/ImportDoc.vue'; import InvalidDoc from '@/doc/toggleswitch/InvalidDoc.vue'; import PreselectionDoc from '@/doc/toggleswitch/PreselectionDoc.vue'; +import TemplateDoc from '@/doc/toggleswitch/TemplateDoc.vue'; import PTComponent from '@/doc/toggleswitch/pt/index.vue'; import ThemingDoc from '@/doc/toggleswitch/theming/index.vue'; @@ -36,6 +37,11 @@ export default { label: 'Invalid', component: InvalidDoc }, + { + id: 'template', + label: 'Template', + component: TemplateDoc + }, { id: 'disabled', label: 'Disabled',
Custom content for icon is displayed with the handle slot that takes an check state as a parameter.