naive-ui/demo/documentation/components/inputNumber/enUS/disabled.md

16 lines
149 B
Markdown
Raw Normal View History

2019-10-22 14:27:25 +08:00
# Disabled
```html
<n-input-number
disabled
v-model="value"
/>
```
```js
export default {
data () {
return {
value: 0
}
}
}
```