34 lines
449 B
Vue
34 lines
449 B
Vue
|
<template>
|
||
|
<article>
|
||
|
<section>
|
||
|
<p class="respect-whitespace">Input value: `{{ value }}`</p>
|
||
|
<veui-input
|
||
|
v-model="value"
|
||
|
trim
|
||
|
/>
|
||
|
</section>
|
||
|
</article>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { Input } from 'veui'
|
||
|
|
||
|
export default {
|
||
|
components: {
|
||
|
'veui-input': Input
|
||
|
},
|
||
|
data () {
|
||
|
return {
|
||
|
composition: true,
|
||
|
value: ''
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
.respect-whitespace {
|
||
|
white-space: pre;
|
||
|
}
|
||
|
</style>
|