• The clearTimeout() method cancels a timeout previously established by calling setTimeout(). If the parameter provided does not identify a previously established action, this method does nothing.

    See

    clearTimeout on MDN

    Parameters

    • Optional timeoutID: number

      The identifier of the timeout you want to cancel. This ID was returned by the corresponding call to setTimeout().

    Returns void

Generated using TypeDoc