Function directionForEach

  • Loop through items in normal (isRTL = true) or reversed (isRTL = false) order and call the callback for each item.

    Parameters

    • instance: object

      Instance of object that will be this in the callback.

    • items: any[]

      Array of items to loop through.

    • isRTL: boolean

      Whether it is left-to-right or right-to-left.

    • callback: DirectionForEachCallback

      Callback function that is called for each array item.

    Returns void

Generated using TypeDoc