MCPcopy Create free account
hub / github.com/testing-library/user-event / modifySelecting

Method modifySelecting

src/system/pointer/mouse.ts:227–237  ·  view source on GitHub ↗
(instance: Instance)

Source from the content-addressed store, hash-verified

225 }
226
227 private modifySelecting(instance: Instance) {
228 if (!this.selecting) {
229 return
230 }
231 modifySelectionPerMouseMove(this.selecting, {
232 document: instance.config.document,
233 target: this.getTarget(instance),
234 node: this.position.caret?.node,
235 offset: this.position.caret?.offset,
236 })
237 }
238
239 private endSelecting() {
240 this.selecting = undefined

Callers 1

moveMethod · 0.95

Calls 2

getTargetMethod · 0.95

Tested by

no test coverage detected