版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
393 B

  1. /**
  2. * HTML input element value stepping.
  3. */
  4. export default class HTMLInputElementValueStepping {
  5. /**
  6. * Steps up or down.
  7. *
  8. * @param type Type.
  9. * @param value Value.
  10. * @param direction Direction.
  11. * @param [increment] Increment.
  12. * @returns New value.
  13. */
  14. static step(type: string, value: string, direction: -1 | 1, increment?: number): string;
  15. }