tiny-vue/examples/sites/demos/mobile-first/app/input/min.vue

27 lines
367 B
Vue

<template>
<div class="demo-input">
<tiny-input type="number" v-model="input" :min="2"></tiny-input>
</div>
</template>
<script>
import { Input } from '@opentiny/vue'
export default {
components: {
TinyInput: Input
},
data() {
return {
input: ''
}
}
}
</script>
<style scoped>
.demo-input .tiny-input {
width: 250px;
}
</style>