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 1807
Last Updated: 20 June, 2023