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

24 lines
521 B
Vue
Raw Normal View History

2024-09-19 07:02:49 +00:00
<template>
<DocPTViewer :docs="docs">
<ToggleButton v-model="checked" onIcon="pi pi-check" offIcon="pi pi-times" class="w-full sm:w-40" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
checked: false,
docs: [
{
data: getPTOptions('ToggleButton'),
key: 'ToggleButton'
}
]
};
}
};
</script>