xk6-crawler
    Preparing search index...

    Type Alias ForEachCallback

    ForEachCallback: (index: number, element: HTMLElement) => void

    The type of callback function registered by HTMLElement.forEach.

    Type Declaration

      • (index: number, element: HTMLElement): void
      • Parameters

        • index: number

          the current index

        • element: HTMLElement

          the current element

        Returns void