kit
    Preparing search index...

    Function domEach

    • Each shortcut, iterate through a NodeList of HTMLElements retrieved with the given selector (and optionally a parent container passed as thrid arguement)

      Type Parameters

      • T extends Element = HTMLElement

      Parameters

      • selector: string

        DOM selector

      • callback: ($element: T, index: number) => any
      • Optionalparent: HTMLElement | Element | Document | null

        It falls back to window.document

      • Optionalscope: object

      Returns void