Input de valores numéricos con un rango personalizable.
### Basic usage
### Uso básico
:::demo Bind a variable to `v-model` in `<el-input-number>` element and you are set.
:::demo Vincule una variable con `v-model` en el elemento <el-input-number> y estará listo.
```html
<template>
...
...
@@ -59,7 +59,7 @@ Input numerical values with a customizable range.
### Disabled
:::demo The `disabled` attribute accepts a `boolean`, and if the value is `true`, the component is disabled. If you just need to control the value within a range, you can add `min` attribute to set the minimum value and `max` to set the maximum value. By default, the minimum value is `0`.
:::demo El atributo `disabled` acepta un valor `boolean`, y si el valor es `true`, el componente queda deshabilitado. Si sólo necesita controlar el valor dentro de un rango, puede añadir un atributo `min` para establecer el valor mínimo y un valor `max` para establecer el valor máximo. Por defecto, el valor mínimo es `0`.
```html
<template>
...
...
@@ -79,9 +79,9 @@ Input numerical values with a customizable range.
### Steps
Allows you to define incremental steps.
Le permite definir el nivel de incremento de los saltos.
:::demo Add `step` attribute to set the step.
:::demo Añada el atributo `step` para establecer el salto.
```html
<template>
...
...
@@ -99,9 +99,9 @@ Allows you to define incremental steps.
```
:::
### Size
### Tamaño
Use attribute `size` to set additional sizes with `medium`, `small` or`mini`.
Utilice el atributo `size` para establecer tamaños adicionales con `medium`, `small` o`mini`.
:::demo
...
...
@@ -127,9 +127,10 @@ Use attribute `size` to set additional sizes with `medium`, `small` or `mini`.
```
:::
### Controls Position
### Posición de los controles
:::demo Establezca `controls-position` para decidir la posición de los botones de control.
:::demo Set `controls-position` to decide the position of control buttons.