convertTouchEndToButtonUp Method
Can be called by tools that wish to emulate releasing the mouse button for onTouchEnd or onTouchComplete.
convertTouchEndToButtonUp(ev: BeTouchEvent, button: BeButton = BeButton.Data): Promise<void>
@note Calls the tool's onMouseEndDrag method if convertTouchMoveStartToButtonDownAndMotion was called for onTouchMoveStart.
Parameter | Type | Description |
---|---|---|
ev | BeTouchEvent | |
button | BeButton |
Returns - Promise<void>
Defined in
- core/frontend/src/tools/ToolAdmin.ts Line 1801
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.