convertTouchEndToButtonUp Method
Can be called by tools that wish to emulate releasing the mouse button for onTouchEnd or onTouchComplete.
convertTouchEndToButtonUp(ev: BeTouchEvent, button: BeButtonBeButton.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
Defined in
- core/frontend/src/tools/ToolAdmin.ts Line 1833
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.