primevue-mirror/apps/showcase/doc/toggleswitch/pt/PTViewer.vue

25 lines
494 B
Vue

<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<ToggleSwitch v-model="checked" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
checked: false,
docs: [
{
data: getPTOptions('ToggleSwitch'),
key: 'ToggleSwitch'
}
]
};
}
};
</script>