MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / constructor

Method constructor

src/test/builders/eventFakes.ts:184–195  ·  view source on GitHub ↗
({
    type = 'touchstart',
    changedTouches = [],
    touches = changedTouches,
    bubbles = true,
    cancelable = true,
  }: TouchEventBuilderOptions = {})

Source from the content-addressed store, hash-verified

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
198export function buildKeyboardEvent({

Callers

nothing calls this directly

Calls 1

buildTouchListFunction · 0.85

Tested by

no test coverage detected