input-number.d.ts
875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { ElementUIComponent } from './component'
export type InputNumberSize = 'large' | 'small'
/** InputNumber Component */
export declare class ElInputNumber extends ElementUIComponent {
  /** Binding value */
  value: number
  /** The minimum allowed value */
  min: number
  /** The maximum allowed value */
  max: number
  /** Incremental step */
  step: number
  /** Size of the component */
  size: InputNumberSize
  /** Whether the component is disabled */
  disabled: boolean
  /** Whether to enable the control buttons */
  controls: boolean
  /** Debounce delay when typing, in milliseconds */
  debounce: number
  /** Position of the control buttons */
  controlsPosition: string
  /** Same as name in native input */
  name: string
  /** Precision of input value */
  precision: Number
  /**
   * Focus the Input component
   */
  focus (): void
}