({
type = 'touchstart',
changedTouches = [],
touches = changedTouches,
bubbles = true,
cancelable = true,
}: TouchEventBuilderOptions = {})
| 182 | readonly touches: TouchList; |
| 183 | |
| 184 | constructor({ |
| 185 | type = 'touchstart', |
| 186 | changedTouches = [], |
| 187 | touches = changedTouches, |
| 188 | bubbles = true, |
| 189 | cancelable = true, |
| 190 | }: TouchEventBuilderOptions = {}) { |
| 191 | super(type, { bubbles, cancelable }); |
| 192 | this.changedTouches = buildTouchList(changedTouches); |
| 193 | this.touches = buildTouchList(touches); |
| 194 | this.targetTouches = this.touches; |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | export function buildKeyboardEvent({ |
nothing calls this directly
no test coverage detected