kit
    Preparing search index...

    Function forEach

    • For each, iterate through a NodeList or an array of HTMLElements

      Type Parameters

      • T extends HTMLElement
      • TScope = object

      Parameters

      • nodes: NodeListOf<T> | T[]
      • callback: (this: TScope, $element: T, index: number) => any
      • Optionalscope: TScope

        The optional this of the callback function

      Returns void