disconnect method
void
disconnect()
Implementation
void disconnect() {
scope.domElement.removeEventListener(PeripheralType.contextmenu, contextmenu);
scope.domElement.removeEventListener(PeripheralType.pointerdown, onPointerDown);
scope.domElement.removeEventListener(PeripheralType.pointercancel, onPointerCancel);
scope.domElement.removeEventListener(PeripheralType.wheel, onMouseWheel);
scope.domElement.removeEventListener(PeripheralType.pointermove, onPointerMove);
scope.domElement.removeEventListener(PeripheralType.pointerup, onPointerUp);
}