onPointerUp method
dynamic
onPointerUp(
- dynamic event
Implementation
onPointerUp(event) {
removePointer(event);
if (pointers.isEmpty) {
scope.domElement.releasePointerCapture(event.pointerId);
scope.domElement.removeEventListener('pointermove', onPointerMove);
scope.domElement.removeEventListener('pointerup', onPointerUp);
}
scope.dispatchEvent(_endEvent);
state = State.none;
}