32 lines
871 B
Vue
32 lines
871 B
Vue
<template>
|
|
<DocSectionText v-bind="$attrs">
|
|
<p>Specify the <i>variant</i> property as <i>filled</i> to display the component with a higher visual emphasis than the default <i>outlined</i> style.</p>
|
|
</DocSectionText>
|
|
<div class="card flex justify-center">
|
|
<InputMask v-model="value" variant="filled" mask="99-999999" placeholder="99-999999" />
|
|
</div>
|
|
<DocSectionCode :code="code" />
|
|
</template>
|
|
|
|
<script setup>
|
|
import InputMask from '@/plex/inputmask';
|
|
import { ref } from 'vue';
|
|
|
|
const value = ref(null);
|
|
|
|
const code = ref(`
|
|
<template>
|
|
<div class="card flex justify-center">
|
|
<InputMask v-model="value" variant="filled" mask="99-999999" placeholder="99-999999" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import InputMask from '@/plex/inputmask';
|
|
import { ref } from 'vue';
|
|
|
|
const value = ref(null);
|
|
<\/script>
|
|
`);
|
|
</script>
|