input-number.d.ts 958 B

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