Skip to main content

ElementClickTimeout

Callable

  • ElementClickTimeout(root: Element, query?: string, timeout?: number): number

  • Disable all clickable elements within root for the given duration.


    Parameters

    • root: Element

      The root element

    • optionalquery: string = null

      The query for identifying all clickable elements within root

    • optionaltimeout: number = 250

      The timeout in ms

    Returns number

    • The timeout ID as returned by setTimeout