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

32 lines
751 B
Vue
Raw Normal View History

2024-09-19 07:01:02 +00:00
<template>
<DocPTViewer :docs="docs">
<InputGroup>
<InputGroupAddon>$</InputGroupAddon>
<InputNumber v-model="value" placeholder="Price" />
<InputGroupAddon>.00</InputGroupAddon>
</InputGroup>
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: null,
docs: [
{
data: getPTOptions('InputGroup'),
key: 'InputGroup'
},
{
data: getPTOptions('InputGroupAddon'),
key: 'InputGroupAddon'
}
]
};
}
};
</script>