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

25 lines
497 B
Vue

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