@hyext/types-ext-sdk-hy 3.18.3 → 3.18.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +13 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1924,8 +1924,21 @@ namespace app {
1924
1924
  * @param disable - 是否禁止native容器手势
1925
1925
  */
1926
1926
  function disableContainerGesture(disable: boolean): Promise<void>;
1927
+ /**
1928
+ * 禁用容器拦截手势
1929
+ * @param params - 传入参数
1930
+ */
1931
+ function disableContainerInterceptGesture(params: DisableContainerInterceptGestureReq): Promise<void>;
1927
1932
  }
1928
1933
 
1934
+ /**
1935
+ * 禁用容器拦截手势参数
1936
+ * @property axis - 禁用拦截方向, horizontal-水平方向, vertical-垂直方向, all-所有方向, none–不禁用拦截
1937
+ */
1938
+ type DisableContainerInterceptGestureReq = {
1939
+ axis: string;
1940
+ };
1941
+
1929
1942
  /**
1930
1943
  * 监听加载完成
1931
1944
  * @param callback - 回调函数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/types-ext-sdk-hy",
3
- "version": "3.18.3",
3
+ "version": "3.18.5-beta.2",
4
4
  "description": "TypeScript definitions for sdk",
5
5
  "types": "./index.d.ts",
6
6
  "main": "",