(instance: Instance, button: MouseButton = 0)
| 105 | } |
| 106 | |
| 107 | up(instance: Instance, button: MouseButton = 0) { |
| 108 | if (!this.isDown) { |
| 109 | return |
| 110 | } |
| 111 | const target = this.getTarget(instance) |
| 112 | |
| 113 | assertPointerEvents(instance, target) |
| 114 | |
| 115 | this.isPrevented = false |
| 116 | this.isDown = false |
| 117 | instance.dispatchUIEvent(target, 'pointerup', this.getEventInit(button)) |
| 118 | } |
| 119 | |
| 120 | release(instance: Instance) { |
| 121 | const target = this.getTarget(instance) |
nothing calls this directly
no test coverage detected