forked from ElemeFE/element
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput-number.d.ts
47 lines (33 loc) · 958 Bytes
/
input-number.d.ts
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
45
46
47
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
/** whether input value can only be multiple of step */
stepStrictly: boolean
/**
* Focus the Input component
*/
focus (): void
}