mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-08 07:36:38 +00:00
!9571 ETS add onTouchIntercept interface
Merge pull request !9571 from zhouchaobo/0228_intercept
This commit is contained in:
commit
9957203d5a
11
api/@internal/component/ets/common.d.ts
vendored
11
api/@internal/component/ets/common.d.ts
vendored
@ -15904,6 +15904,17 @@ declare class CommonMethod<T> {
|
||||
* @since 11
|
||||
*/
|
||||
monopolizeEvents(monopolize: boolean): T;
|
||||
|
||||
/**
|
||||
* When the component does a touch test, a user-defined callback is triggered.
|
||||
*
|
||||
* @param { Callback<TouchEvent, HitTestMode> } callback - A callback instance used when the component does a touch test.
|
||||
* @returns { T }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
*/
|
||||
onTouchIntercept(callback: Callback<TouchEvent, HitTestMode>): T;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user