@doubao-dev/framework 0.7.2 → 0.8.0-rc.10

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.
@@ -118,6 +118,7 @@ declare abstract class BaseGesture<TConfig extends BaseGestureConfig = BaseGestu
118
118
  onTouchesMove: (cb: GestureCallback<TEvent>) => this;
119
119
  onTouchesUp: (cb: GestureCallback<TEvent>) => this;
120
120
  onTouchesCancel: (cb: GestureCallback<TEvent>) => this;
121
+ private addRelation;
121
122
  externalWaitFor: (gesture: GestureKind) => this;
122
123
  externalSimultaneous: (gesture: GestureKind) => this;
123
124
  externalContinueWith: (gesture: GestureKind) => this;
@@ -3514,6 +3515,14 @@ export declare interface PopupRef {
3514
3515
  * @Harmony
3515
3516
  */
3516
3517
  translateTo: (position: PopupStatus | string) => void;
3518
+ /**
3519
+ * Set whether the scroll container can scroll natively regardless of the current popup position: true enables scrolling, false disables it. Resolves after the main-thread call. Has no effect before the scroll container receives its first touch. Subsequent gestures may change this setting.
3520
+ * @zh 不受当前弹窗位置限制,设置滚动容器是否允许原生滚动:true 允许,false 禁止。主线程调用完成后返回的 Promise 才会完成。滚动容器首次收到触摸前调用无效,后续手势仍可能改变此设置。
3521
+ * @Android
3522
+ * @iOS
3523
+ * @Harmony
3524
+ */
3525
+ setScrollContainerScrollEnabled: (enabled: boolean) => Promise<void>;
3517
3526
  }
3518
3527
 
3519
3528
  declare const enum PopupStatus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doubao-dev/framework",
3
- "version": "0.7.2",
3
+ "version": "0.8.0-rc.10",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {