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

28 lines
613 B
Vue
Raw Normal View History

2024-09-19 06:55:07 +00:00
<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<FloatLabel>
<InputText id="username" v-model="value" autocomplete="off" />
<label for="username">Username</label>
</FloatLabel>
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: null,
docs: [
{
data: getPTOptions('FloatLabel'),
key: 'FloatLabel'
}
]
};
}
};
</script>