function TouchList()

in packages/bui-utils/src/hooks/useTouchEmulator.ts [38:51]


function TouchList() {
  const touchList: any = [];

  touchList.item = (index) => {
    return this[index] || null;
  };

  // specified by Mozilla
  touchList.identifiedTouch = (id) => {
    return this[id + 1] || null;
  };

  return touchList;
}