Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/testing-library/user-event
/ getOnUp
Method
getOnUp
src/system/pointer/mouse.ts:57–61 ·
view source on GitHub ↗
(button: number)
Source
from the content-addressed store, hash-verified
55
}
56
57
getOnUp(button: number) {
58
return
this.down[button] === undefined
59
? undefined
60
: Number(this.down[button]) + 1
61
}
62
63
reset() {
64
this.count = {}
Callers
1
getEventInit
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected