UNPKG

happy-dom

Version:

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

25 lines 800 B
import type HTMLInputElement from './HTMLInputElement.js'; /** * HTML input element value stepping. */ export default class HTMLInputElementValueStepping { /** * Steps up or down. * * @param input Input element. * @param direction Direction. * @param [increment] Increment. * @returns New value. */ static step(input: HTMLInputElement, direction: -1 | 1, increment?: number): string | null; /** * Returns the stepped value for "number" input field. * * @see https://html.spec.whatwg.org/multipage/input.html#dom-input-stepup * @param input Input element. * @param direction Direction. * @param [increment] Increment. */ private static getNumberValue; } //# sourceMappingURL=HTMLInputElementValueStepping.d.ts.map