From 45ddde79dd53c04b92bbb956e78b04b3a69978eb Mon Sep 17 00:00:00 2001 From: "ext.liuweijian3" Date: Wed, 12 Nov 2025 18:11:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(ascf):=20=E8=B0=83=E6=95=B4=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E5=AE=B9=E5=99=A8ascf=E7=9B=B8=E5=85=B3=E8=B5=84?= =?UTF-8?q?=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/components/page-meta.md | 34 ++--- docs/components/viewContainer/cover-image.md | 28 ++-- docs/components/viewContainer/cover-view.md | 58 ++++---- .../viewContainer/custom-wrapper.md | 2 +- docs/components/viewContainer/match-media.md | 20 +-- docs/components/viewContainer/movable-area.md | 8 +- docs/components/viewContainer/movable-view.md | 60 ++++---- docs/components/viewContainer/native-slot.md | 2 +- .../viewContainer/page-container.md | 42 +++--- docs/components/viewContainer/root-portal.md | 8 +- docs/components/viewContainer/script.md | 10 +- docs/components/viewContainer/scroll-view.md | 138 +++++++++--------- docs/components/viewContainer/slot.md | 10 +- docs/components/viewContainer/swiper-item.md | 12 +- docs/components/viewContainer/swiper.md | 104 ++++++------- docs/components/viewContainer/view.md | 56 +++---- .../version-3.x/components/page-meta.md | 34 ++--- .../components/viewContainer/cover-image.md | 28 ++-- .../components/viewContainer/cover-view.md | 58 ++++---- .../viewContainer/custom-wrapper.md | 2 +- .../components/viewContainer/match-media.md | 20 +-- .../components/viewContainer/movable-area.md | 8 +- .../components/viewContainer/movable-view.md | 60 ++++---- .../components/viewContainer/native-slot.md | 2 +- .../viewContainer/page-container.md | 42 +++--- .../components/viewContainer/root-portal.md | 8 +- .../components/viewContainer/script.md | 10 +- .../components/viewContainer/scroll-view.md | 128 ++++++++-------- .../components/viewContainer/slot.md | 10 +- .../components/viewContainer/swiper-item.md | 12 +- .../components/viewContainer/swiper.md | 76 +++++----- .../components/viewContainer/view.md | 56 +++---- 32 files changed, 573 insertions(+), 573 deletions(-) diff --git a/docs/components/page-meta.md b/docs/components/page-meta.md index 0a075626c978..16b48c217ff0 100644 --- a/docs/components/page-meta.md +++ b/docs/components/page-meta.md @@ -11,7 +11,7 @@ Taro v3.6.19 开始支持 开发者需要在页面配置里添加:`enablePageMeta: true` ::: -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/page-meta.html) @@ -91,22 +91,22 @@ function Index () { ### API 支持度 -| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | -| PageMetaProps.backgroundTextStyle | ✔️ | | | | | -| PageMetaProps.backgroundColor | ✔️ | ✔️ | | | ✔️ | -| PageMetaProps.backgroundColorTop | ✔️ | ✔️ | | | ✔️ | -| PageMetaProps.backgroundColorBottom | ✔️ | ✔️ | | | ✔️ | -| PageMetaProps.scrollTop | ✔️ | ✔️ | | | ✔️ | -| PageMetaProps.scrollDuration | ✔️ | ✔️ | | | ✔️ | -| PageMetaProps.pageStyle | ✔️ | ✔️ | | | | -| PageMetaProps.rootFontSize | ✔️ | ✔️ | | | | -| PageMetaProps.rootBackgroundColor | ✔️ | ✔️ | | | ✔️ | -| PageMetaProps.pageFontSize | ✔️ | ✔️ | | | | -| PageMetaProps.pageOrientation | ✔️ | | | | | -| PageMetaProps.onResize | ✔️ | | | | | -| PageMetaProps.onScroll | ✔️ | ✔️ | | | | -| PageMetaProps.onScrollDone | ✔️ | | | | | +| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| PageMetaProps.backgroundTextStyle | ✔️ | | | | | | +| PageMetaProps.backgroundColor | ✔️ | ✔️ | | | ✔️ | | +| PageMetaProps.backgroundColorTop | ✔️ | ✔️ | | | ✔️ | | +| PageMetaProps.backgroundColorBottom | ✔️ | ✔️ | | | ✔️ | | +| PageMetaProps.scrollTop | ✔️ | ✔️ | | | ✔️ | | +| PageMetaProps.scrollDuration | ✔️ | ✔️ | | | ✔️ | | +| PageMetaProps.pageStyle | ✔️ | ✔️ | | | | | +| PageMetaProps.rootFontSize | ✔️ | ✔️ | | | | | +| PageMetaProps.rootBackgroundColor | ✔️ | ✔️ | | | ✔️ | | +| PageMetaProps.pageFontSize | ✔️ | ✔️ | | | | | +| PageMetaProps.pageOrientation | ✔️ | | | | | | +| PageMetaProps.onResize | ✔️ | | | | | | +| PageMetaProps.onScroll | ✔️ | ✔️ | | | | | +| PageMetaProps.onScrollDone | ✔️ | | | | | | ### onResizeEventDetail diff --git a/docs/components/viewContainer/cover-image.md b/docs/components/viewContainer/cover-image.md index 34129de745f4..1afc66e1ec37 100644 --- a/docs/components/viewContainer/cover-image.md +++ b/docs/components/viewContainer/cover-image.md @@ -5,7 +5,7 @@ sidebar_label: CoverImage 覆盖在原生组件之上的图片视图。可覆盖的原生组件同cover-view,支持嵌套在cover-view里。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/cover-image.html) @@ -106,16 +106,16 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| CoverImageProps.src | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| CoverImageProps.referrerPolicy | ✔️ | | | | | | | | | -| CoverImageProps.fixedTop | | ✔️ | | | | | | | | -| CoverImageProps.fixedRight | | ✔️ | | | | | | | | -| CoverImageProps.fixedBottom | | ✔️ | | | | | | | | -| CoverImageProps.fixedLeft | | ✔️ | | | | | | | | -| CoverImageProps.ariaRole | | | | ✔️ | | | | | | -| CoverImageProps.ariaLabel | | | | ✔️ | | | | | | -| CoverImageProps.onLoad | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ | -| CoverImageProps.onError | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ | -| CoverImageProps.onTap | | | ✔️ | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| CoverImageProps.src | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | | +| CoverImageProps.referrerPolicy | ✔️ | | | | | | | | | | +| CoverImageProps.fixedTop | | ✔️ | | | | | | | | | +| CoverImageProps.fixedRight | | ✔️ | | | | | | | | | +| CoverImageProps.fixedBottom | | ✔️ | | | | | | | | | +| CoverImageProps.fixedLeft | | ✔️ | | | | | | | | | +| CoverImageProps.ariaRole | | | | ✔️ | | | | | | | +| CoverImageProps.ariaLabel | | | | ✔️ | | | | | | | +| CoverImageProps.onLoad | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ | | +| CoverImageProps.onError | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ | | +| CoverImageProps.onTap | | | ✔️ | | | | | | | | diff --git a/docs/components/viewContainer/cover-view.md b/docs/components/viewContainer/cover-view.md index fb83d8ddbfab..4a4fc473b09b 100755 --- a/docs/components/viewContainer/cover-view.md +++ b/docs/components/viewContainer/cover-view.md @@ -5,7 +5,7 @@ sidebar_label: CoverView 覆盖在原生组件之上的文本视图。可覆盖的原生组件包括 map、video、canvas、camera、live-player、live-pusher 只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html) @@ -122,31 +122,31 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| CoverViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | -| CoverViewProps.fixedTop | | ✔️ | | | | | | | -| CoverViewProps.fixedRight | | ✔️ | | | | | | | -| CoverViewProps.fixedBottom | | ✔️ | | | | | | | -| CoverViewProps.fixedLeft | | ✔️ | | | | | | | -| CoverViewProps.ariaRole | | | | ✔️ | | | | | -| CoverViewProps.ariaLabel | | | | ✔️ | | | | | -| CoverViewProps.scrollX | | | ✔️ | | | | | | -| CoverViewProps.scrollY | | | ✔️ | | | | | | -| CoverViewProps.upperThreshold | | | ✔️ | | | | | | -| CoverViewProps.lowerThreshold | | | ✔️ | | | | | | -| CoverViewProps.scrollLeft | | | ✔️ | | | | | | -| CoverViewProps.scrollIntoView | | | ✔️ | | | | | | -| CoverViewProps.scrollWithAnimation | | | ✔️ | | | | | | -| CoverViewProps.scrollAnimationDuration | | | ✔️ | | | | | | -| CoverViewProps.enableBackToTop | | | ✔️ | | | | | | -| CoverViewProps.trapScroll | | | ✔️ | | | | | | -| CoverViewProps.disableLowerScroll | | | ✔️ | | | | | | -| CoverViewProps.disableUpperScroll | | | ✔️ | | | | | | -| CoverViewProps.onScrollToUpper | | | ✔️ | | | | | | -| CoverViewProps.onScrollToLower | | | ✔️ | | | | | | -| CoverViewProps.onScroll | | | ✔️ | | | | | | -| CoverViewProps.onTouchStart | | | ✔️ | | | | | | -| CoverViewProps.onTouchMove | | | ✔️ | | | | | | -| CoverViewProps.onTouchEnd | | | ✔️ | | | | | | -| CoverViewProps.onTouchCancel | | | ✔️ | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| CoverViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | +| CoverViewProps.fixedTop | | ✔️ | | | | | | | | +| CoverViewProps.fixedRight | | ✔️ | | | | | | | | +| CoverViewProps.fixedBottom | | ✔️ | | | | | | | | +| CoverViewProps.fixedLeft | | ✔️ | | | | | | | | +| CoverViewProps.ariaRole | | | | ✔️ | | | | | | +| CoverViewProps.ariaLabel | | | | ✔️ | | | | | | +| CoverViewProps.scrollX | | | ✔️ | | | | | | | +| CoverViewProps.scrollY | | | ✔️ | | | | | | | +| CoverViewProps.upperThreshold | | | ✔️ | | | | | | | +| CoverViewProps.lowerThreshold | | | ✔️ | | | | | | | +| CoverViewProps.scrollLeft | | | ✔️ | | | | | | | +| CoverViewProps.scrollIntoView | | | ✔️ | | | | | | | +| CoverViewProps.scrollWithAnimation | | | ✔️ | | | | | | | +| CoverViewProps.scrollAnimationDuration | | | ✔️ | | | | | | | +| CoverViewProps.enableBackToTop | | | ✔️ | | | | | | | +| CoverViewProps.trapScroll | | | ✔️ | | | | | | | +| CoverViewProps.disableLowerScroll | | | ✔️ | | | | | | | +| CoverViewProps.disableUpperScroll | | | ✔️ | | | | | | | +| CoverViewProps.onScrollToUpper | | | ✔️ | | | | | | | +| CoverViewProps.onScrollToLower | | | ✔️ | | | | | | | +| CoverViewProps.onScroll | | | ✔️ | | | | | | | +| CoverViewProps.onTouchStart | | | ✔️ | | | | | | | +| CoverViewProps.onTouchMove | | | ✔️ | | | | | | | +| CoverViewProps.onTouchEnd | | | ✔️ | | | | | | | +| CoverViewProps.onTouchCancel | | | ✔️ | | | | | | | diff --git a/docs/components/viewContainer/custom-wrapper.md b/docs/components/viewContainer/custom-wrapper.md index 8577b840c0c7..1318ca7eefdb 100644 --- a/docs/components/viewContainer/custom-wrapper.md +++ b/docs/components/viewContainer/custom-wrapper.md @@ -6,7 +6,7 @@ sidebar_label: CustomWrapper custom-wrapper 自定义组件包裹器 当数据更新层级较深时,可用此组件将需要更新的区域包裹起来,这样更新层级将大大减少 -支持情况: +支持情况: ## 类型 diff --git a/docs/components/viewContainer/match-media.md b/docs/components/viewContainer/match-media.md index c0d01532ee6d..88b6457ec4ae 100644 --- a/docs/components/viewContainer/match-media.md +++ b/docs/components/viewContainer/match-media.md @@ -6,7 +6,7 @@ sidebar_label: MatchMedia media query 匹配检测节点。可以指定一组 media query 规则,满足时,这个节点才会被展示。 通过这个节点可以实现“页面宽高在某个范围时才展示某个区域”这样的效果。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/match-media.html) @@ -75,12 +75,12 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 支付宝小程序 | 京东小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| MatchMediaProps.minWidth | ✔️ | ✔️ | ✔️ | | | | -| MatchMediaProps.maxWidth | ✔️ | ✔️ | ✔️ | | | | -| MatchMediaProps.width | ✔️ | ✔️ | ✔️ | | | | -| MatchMediaProps.minHeight | ✔️ | ✔️ | ✔️ | | | | -| MatchMediaProps.maxHeight | ✔️ | ✔️ | ✔️ | | | | -| MatchMediaProps.height | ✔️ | ✔️ | ✔️ | | | | -| MatchMediaProps.orientation | ✔️ | ✔️ | ✔️ | | | | +| API | 微信小程序 | 支付宝小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| MatchMediaProps.minWidth | ✔️ | ✔️ | ✔️ | | | | | +| MatchMediaProps.maxWidth | ✔️ | ✔️ | ✔️ | | | | | +| MatchMediaProps.width | ✔️ | ✔️ | ✔️ | | | | | +| MatchMediaProps.minHeight | ✔️ | ✔️ | ✔️ | | | | | +| MatchMediaProps.maxHeight | ✔️ | ✔️ | ✔️ | | | | | +| MatchMediaProps.height | ✔️ | ✔️ | ✔️ | | | | | +| MatchMediaProps.orientation | ✔️ | ✔️ | ✔️ | | | | | diff --git a/docs/components/viewContainer/movable-area.md b/docs/components/viewContainer/movable-area.md index 5a7ca67a28e8..8b46cb8429c7 100644 --- a/docs/components/viewContainer/movable-area.md +++ b/docs/components/viewContainer/movable-area.md @@ -5,7 +5,7 @@ sidebar_label: MovableArea movable-view 的可移动区域 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/movable-area.html) @@ -56,6 +56,6 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| MovableAreaProps.scaleArea | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| MovableAreaProps.scaleArea | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | diff --git a/docs/components/viewContainer/movable-view.md b/docs/components/viewContainer/movable-view.md index c9a124852499..6eb52302fa1a 100755 --- a/docs/components/viewContainer/movable-view.md +++ b/docs/components/viewContainer/movable-view.md @@ -5,7 +5,7 @@ sidebar_label: MovableView 可移动的视图容器,在页面中可以拖拽滑动。movable-view 必须在 movable-area 组件中,并且必须是直接子节点,否则不能移动。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html) @@ -82,35 +82,35 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| MovableViewProps.direction | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| MovableViewProps.inertia | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.outOfBounds | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.x | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| MovableViewProps.y | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| MovableViewProps.damping | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.friction | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.disabled | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| MovableViewProps.scale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.scaleMin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.scaleMax | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.scaleValue | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.animation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.onChange | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | -| MovableViewProps.onChangeEnd | | | ✔️ | | | | | | | -| MovableViewProps.onDragStart | | | | | | | ✔️ | | | -| MovableViewProps.onDragEnd | | | | | | | ✔️ | | | -| MovableViewProps.onScale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.onTouchStart | | | ✔️ | | | | | | | -| MovableViewProps.onTouchMove | | | ✔️ | | | | | | | -| MovableViewProps.onTouchEnd | | | ✔️ | | | ✔️(此事件的触发顺序会因为当前事件机制引起组件内外注册的事件执行顺序不正常,外部注册的事件可能会优先于内部执行,如需保证执行顺序一致,需要在回调函数中包裹 setTimeout 临时处理) | | | ✔️ | -| MovableViewProps.onTouchCancel | | | ✔️ | | | | | | | -| MovableViewProps.onHTouchMove | ✔️ | ✔️ | | ✔️ | | ✔️ | | | ✔️ | -| MovableViewProps.onVTouchMove | ✔️ | ✔️ | | ✔️ | | ✔️ | | | ✔️ | -| MovableViewProps.catchTouchStart | | | ✔️ | | | | | | | -| MovableViewProps.catchTouchMove | | | ✔️ | | | | | | | -| MovableViewProps.catchTouchEnd | | | ✔️ | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| MovableViewProps.direction | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| MovableViewProps.inertia | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.outOfBounds | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.x | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| MovableViewProps.y | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| MovableViewProps.damping | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.friction | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.disabled | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| MovableViewProps.scale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.scaleMin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.scaleMax | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.scaleValue | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.animation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.onChange | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | ✔️ | +| MovableViewProps.onChangeEnd | | | ✔️ | | | | | | | | +| MovableViewProps.onDragStart | | | | | | | ✔️ | | | | +| MovableViewProps.onDragEnd | | | | | | | ✔️ | | | | +| MovableViewProps.onScale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.onTouchStart | | | ✔️ | | | | | | | | +| MovableViewProps.onTouchMove | | | ✔️ | | | | | | | | +| MovableViewProps.onTouchEnd | | | ✔️ | | | ✔️(此事件的触发顺序会因为当前事件机制引起组件内外注册的事件执行顺序不正常,外部注册的事件可能会优先于内部执行,如需保证执行顺序一致,需要在回调函数中包裹 setTimeout 临时处理) | | | ✔️ | | +| MovableViewProps.onTouchCancel | | | ✔️ | | | | | | | | +| MovableViewProps.onHTouchMove | ✔️ | ✔️ | | ✔️ | | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.onVTouchMove | ✔️ | ✔️ | | ✔️ | | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.catchTouchStart | | | ✔️ | | | | | | | | +| MovableViewProps.catchTouchMove | | | ✔️ | | | | | | | | +| MovableViewProps.catchTouchEnd | | | ✔️ | | | | | | | | ### TChangeSource diff --git a/docs/components/viewContainer/native-slot.md b/docs/components/viewContainer/native-slot.md index 77b253daeb03..c75278f933a7 100644 --- a/docs/components/viewContainer/native-slot.md +++ b/docs/components/viewContainer/native-slot.md @@ -5,7 +5,7 @@ sidebar_label: NativeSlot 编译的原生组件支持使用 slot 插槽 -支持情况: +支持情况: > [参考文档](https://github.com/NervJS/taro/pull/12627) diff --git a/docs/components/viewContainer/page-container.md b/docs/components/viewContainer/page-container.md index bda4efb990a5..22e09aea7339 100644 --- a/docs/components/viewContainer/page-container.md +++ b/docs/components/viewContainer/page-container.md @@ -12,7 +12,7 @@ Bug & Tip 1. tip: 当前页面最多只有 1 个容器,若已存在容器的情况下,无法增加新的容器 2. tip: wx.navigateBack 无法在页面栈顶调用,此时没有上一级页面 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html) @@ -47,26 +47,26 @@ ComponentType ### API 支持度 -| API | 微信小程序 | 支付宝小程序 | 京东小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| PageContainerProps.show | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.duration | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.zIndex | ✔️ | ✔️ | | | | | -| PageContainerProps.overlay | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.position | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.round | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.overlayStyle | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.customStyle | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.closeOnSlideDown | ✔️ | ✔️ | ✔️ | | | | -| PageContainerProps.onBeforeEnter | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onEnter | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onAfterEnter | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onBeforeLeave | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onLeave | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onAfterLeave | ✔️ | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onClickOverlay | ✔️ | ✔️ | ✔️ | | | | -| PageContainerProps.onEnterCancelled | | ✔️ | | | | | -| PageContainerProps.onLeaveCancelled | | ✔️ | | | | | +| API | 微信小程序 | 支付宝小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| PageContainerProps.show | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.duration | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.zIndex | ✔️ | ✔️ | | | | | | +| PageContainerProps.overlay | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.position | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.round | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.overlayStyle | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.customStyle | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.closeOnSlideDown | ✔️ | ✔️ | ✔️ | | | | | +| PageContainerProps.onBeforeEnter | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onEnter | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onAfterEnter | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onBeforeLeave | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onLeave | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onAfterLeave | ✔️ | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onClickOverlay | ✔️ | ✔️ | ✔️ | | | | | +| PageContainerProps.onEnterCancelled | | ✔️ | | | | | | +| PageContainerProps.onLeaveCancelled | | ✔️ | | | | | | ### Position diff --git a/docs/components/viewContainer/root-portal.md b/docs/components/viewContainer/root-portal.md index 8b9ed266b5b7..e8c7fc465263 100644 --- a/docs/components/viewContainer/root-portal.md +++ b/docs/components/viewContainer/root-portal.md @@ -6,7 +6,7 @@ sidebar_label: RootPortal root-portal 使整个子树从页面中脱离出来,类似于在 CSS 中使用 fixed position 的效果。主要用于制作弹窗、弹出层等。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/root-portal.html) @@ -59,6 +59,6 @@ export default function RootPortalExample { ### API 支持度 -| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | -| RootPortalProps.enable | ✔️ | ✔️ | | | | +| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| RootPortalProps.enable | ✔️ | ✔️ | | | | | diff --git a/docs/components/viewContainer/script.md b/docs/components/viewContainer/script.md index 8d3980be6d73..f91f98b41d5a 100644 --- a/docs/components/viewContainer/script.md +++ b/docs/components/viewContainer/script.md @@ -6,7 +6,7 @@ sidebar_label: Script script 类似微信小程序的 wxs 标签,支持引用各种小程序的 xs 文件 只能在 CompileMode 中使用 -支持情况: +支持情况: ## 类型 @@ -50,7 +50,7 @@ export function Index () { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| ScriptProps.src | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | -| ScriptProps.module | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| ScriptProps.src | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | ✔️ | +| ScriptProps.module | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | ✔️ | diff --git a/docs/components/viewContainer/scroll-view.md b/docs/components/viewContainer/scroll-view.md index b3d24c2b92c1..20d0c83fdb9e 100755 --- a/docs/components/viewContainer/scroll-view.md +++ b/docs/components/viewContainer/scroll-view.md @@ -9,7 +9,7 @@ Tips: H5 中 ScrollView 组件是通过一个高度(或宽度)固定的容器内部滚动来实现的,因此务必正确的设置容器的高度。例如: 如果 ScrollView 的高度将 body 撑开,就会同时存在两个滚动条(body 下的滚动条,以及 ScrollView 的滚动条)。 微信小程序 中 ScrollView 组件如果设置 scrollX 横向滚动时,并且子元素为多个时(单个子元素时设置固定宽度则可以正常横向滚动),需要通过 WXSS 设置 `white-space: nowrap` 来保证元素不换行,并对 ScrollView 内部元素设置 `display: inline-block` 来使其能够横向滚动。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html) @@ -249,74 +249,74 @@ typeof ScrollViewProps ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| ScrollViewProps.scrollX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(二选一) | ✔️ | ✔️ | -| ScrollViewProps.scrollY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(二选一) | ✔️ | ✔️ | -| ScrollViewProps.upperThreshold | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.lowerThreshold | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.scrollLeft | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.scrollIntoView | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| ScrollViewProps.scrollWithAnimation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.enableBackToTop | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | | ✔️ | | | -| ScrollViewProps.enableFlex | ✔️ | | | | | ✔️ | | | | | -| ScrollViewProps.scrollAnchoring | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherThreshold | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherDefaultStyle | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherBackground | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTriggered | ✔️ | | | | | | | | | | -| ScrollViewProps.enhanced | ✔️ | ✔️ | | | | | | | | | -| ScrollViewProps.usingSticky | ✔️ | | | | | | | | | | -| ScrollViewProps.bounces | ✔️ | ✔️ | | | | | | | | | -| ScrollViewProps.showScrollbar | ✔️ | | | | | | | | ✔️ | | -| ScrollViewProps.pagingEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.fastDeceleration | ✔️ | | | | | | | | | | -| ScrollViewProps.scrollAnimationDuration | | | ✔️ | | | | | | | | -| ScrollViewProps.trapScroll | | | ✔️ | | | | | | | | -| ScrollViewProps.disableLowerScroll | | | ✔️ | | | | | | | | -| ScrollViewProps.disableUpperScroll | | | ✔️ | | | | | | | | -| ScrollViewProps.ariaLabel | | | | | ✔️ | | | | | | -| ScrollViewProps.enablePassive | ✔️ | | | | | | | | | | -| ScrollViewProps.type | ✔️ | | | | | | | | ✔️ | | -| ScrollViewProps.associativeContainer | ✔️ | | | | | | | | | | -| ScrollViewProps.reverse | ✔️ | | | | | | | | | | -| ScrollViewProps.clip | ✔️ | | | | | | | | | | -| ScrollViewProps.cacheExtent | ✔️ | | | | | | | | | | -| ScrollViewProps.minDragDistance | ✔️ | | | | | | | | | | -| ScrollViewProps.padding | ✔️ | | | | | | | | | | -| ScrollViewProps.scrollIntoViewWithinExtent | ✔️ | | | | | | | | | | -| ScrollViewProps.scrollIntoViewAlignment | ✔️ | | | | | | ✔️ | | | ✔️ | -| ScrollViewProps.refresherTwoLevelEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelTriggered | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelThreshold | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelCloseThreshold | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelScrollEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherBallisticRefreshEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelPinned | ✔️ | | | | | | | | | | -| ScrollViewProps.onScrollToUpper | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.onScrollToLower | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.onScroll | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| ScrollViewProps.onScrollStart | ✔️ | | | | | | | | | | -| ScrollViewProps.onScrollEnd | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherPulling | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherRefresh | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherRestore | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherAbort | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherWillRefresh | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherStatusChange | ✔️ | | | | | | | | | | -| ScrollViewProps.onDragStart | ✔️ | | | | | | | | | | -| ScrollViewProps.onDragging | ✔️ | | | | | | | | | | -| ScrollViewProps.onDragEnd | ✔️ | | | | | | | | | | -| ScrollViewProps.onTouchStart | | | ✔️ | | | | | | | | -| ScrollViewProps.onTouchMove | | | ✔️ | | | | | | | | -| ScrollViewProps.onTouchEnd | | | ✔️ | | | | | | | | -| ScrollViewProps.onTouchCancel | | | ✔️ | | | | | | | | -| ScrollViewProps.onScrollStartWorklet | ✔️ | | | | | | | | | | -| ScrollViewProps.onScrollUpdateWorklet | ✔️ | | | | | | | | | | -| ScrollViewProps.onScrollEndWorklet | ✔️ | | | | | | | | | | -| ScrollViewProps.adjustDecelerationVelocityWorklet | ✔️ | | | | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| ScrollViewProps.scrollX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(二选一) | ✔️ | ✔️ | ✔️ | +| ScrollViewProps.scrollY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(二选一) | ✔️ | ✔️ | ✔️ | +| ScrollViewProps.upperThreshold | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.lowerThreshold | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.scrollLeft | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.scrollIntoView | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| ScrollViewProps.scrollWithAnimation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.enableBackToTop | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | | ✔️ | | | | +| ScrollViewProps.enableFlex | ✔️ | | | | | ✔️ | | | | | | +| ScrollViewProps.scrollAnchoring | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherEnabled | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.refresherThreshold | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.refresherDefaultStyle | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.refresherBackground | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.refresherTriggered | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.enhanced | ✔️ | ✔️ | | | | | | | | | | +| ScrollViewProps.usingSticky | ✔️ | | | | | | | | | | | +| ScrollViewProps.bounces | ✔️ | ✔️ | | | | | | | | | | +| ScrollViewProps.showScrollbar | ✔️ | | | | | | | | ✔️ | | ✔️ | +| ScrollViewProps.pagingEnabled | ✔️ | | | | | | | | | | | +| ScrollViewProps.fastDeceleration | ✔️ | | | | | | | | | | | +| ScrollViewProps.scrollAnimationDuration | | | ✔️ | | | | | | | | | +| ScrollViewProps.trapScroll | | | ✔️ | | | | | | | | | +| ScrollViewProps.disableLowerScroll | | | ✔️ | | | | | | | | | +| ScrollViewProps.disableUpperScroll | | | ✔️ | | | | | | | | | +| ScrollViewProps.ariaLabel | | | | | ✔️ | | | | | | | +| ScrollViewProps.enablePassive | ✔️ | | | | | | | | | | | +| ScrollViewProps.type | ✔️ | | | | | | | | ✔️ | | | +| ScrollViewProps.associativeContainer | ✔️ | | | | | | | | | | | +| ScrollViewProps.reverse | ✔️ | | | | | | | | | | | +| ScrollViewProps.clip | ✔️ | | | | | | | | | | | +| ScrollViewProps.cacheExtent | ✔️ | | | | | | | | | | | +| ScrollViewProps.minDragDistance | ✔️ | | | | | | | | | | | +| ScrollViewProps.padding | ✔️ | | | | | | | | | | | +| ScrollViewProps.scrollIntoViewWithinExtent | ✔️ | | | | | | | | | | | +| ScrollViewProps.scrollIntoViewAlignment | ✔️ | | | | | | ✔️ | | | ✔️ | | +| ScrollViewProps.refresherTwoLevelEnabled | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelTriggered | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelThreshold | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelCloseThreshold | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelScrollEnabled | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherBallisticRefreshEnabled | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelPinned | ✔️ | | | | | | | | | | | +| ScrollViewProps.onScrollToUpper | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.onScrollToLower | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.onScroll | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| ScrollViewProps.onScrollStart | ✔️ | | | | | | | | | | | +| ScrollViewProps.onScrollEnd | ✔️ | | | | | | | | | | | +| ScrollViewProps.onRefresherPulling | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.onRefresherRefresh | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.onRefresherRestore | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.onRefresherAbort | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.onRefresherWillRefresh | ✔️ | | | | | | | | | | | +| ScrollViewProps.onRefresherStatusChange | ✔️ | | | | | | | | | | | +| ScrollViewProps.onDragStart | ✔️ | | | | | | | | | | | +| ScrollViewProps.onDragging | ✔️ | | | | | | | | | | | +| ScrollViewProps.onDragEnd | ✔️ | | | | | | | | | | | +| ScrollViewProps.onTouchStart | | | ✔️ | | | | | | | | | +| ScrollViewProps.onTouchMove | | | ✔️ | | | | | | | | | +| ScrollViewProps.onTouchEnd | | | ✔️ | | | | | | | | | +| ScrollViewProps.onTouchCancel | | | ✔️ | | | | | | | | | +| ScrollViewProps.onScrollStartWorklet | ✔️ | | | | | | | | | | | +| ScrollViewProps.onScrollUpdateWorklet | ✔️ | | | | | | | | | | | +| ScrollViewProps.onScrollEndWorklet | ✔️ | | | | | | | | | | | +| ScrollViewProps.adjustDecelerationVelocityWorklet | ✔️ | | | | | | | | | | | | 参数 | 类型 | | --- | --- | diff --git a/docs/components/viewContainer/slot.md b/docs/components/viewContainer/slot.md index 9b43404f2a2f..fb889ede6e25 100644 --- a/docs/components/viewContainer/slot.md +++ b/docs/components/viewContainer/slot.md @@ -5,7 +5,7 @@ sidebar_label: Slot slot 插槽 -支持情况: +支持情况: ## 类型 @@ -42,7 +42,7 @@ export default class SlotView extends Component { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| SlotProps.name | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | -| SlotProps.varName | | ✔️ | | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| SlotProps.name | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | ✔️ | +| SlotProps.varName | | ✔️ | | | | | | | | | diff --git a/docs/components/viewContainer/swiper-item.md b/docs/components/viewContainer/swiper-item.md index ccc584415f78..e70b8db42b87 100644 --- a/docs/components/viewContainer/swiper-item.md +++ b/docs/components/viewContainer/swiper-item.md @@ -6,7 +6,7 @@ sidebar_label: SwiperItem 仅可放置在 swiper 组件中,宽高自动设置为100% > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147) -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/swiper-item.html) @@ -92,8 +92,8 @@ class App extends Component { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 抖音小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| SwiperItemProps.itemId | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperItemProps.skipHiddenItemLayout | ✔️ | | | | | | | | -| SwiperItemProps.deep | | | | | ✔️ | | | | +| API | 微信小程序 | 百度小程序 | 抖音小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| SwiperItemProps.itemId | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperItemProps.skipHiddenItemLayout | ✔️ | | | | | | | | | +| SwiperItemProps.deep | | | | | ✔️ | | | | | diff --git a/docs/components/viewContainer/swiper.md b/docs/components/viewContainer/swiper.md index cb4a4fd6dcd3..89ab9e8861ee 100755 --- a/docs/components/viewContainer/swiper.md +++ b/docs/components/viewContainer/swiper.md @@ -6,7 +6,7 @@ sidebar_label: Swiper 滑块视图容器。其中只可放置 swiper-item 组件,否则会导致未定义的行为。 > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147) -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html) @@ -138,57 +138,57 @@ class App extends Component { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| SwiperProps.indicatorDots | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperProps.indicatorColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperProps.indicatorActiveColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperProps.autoplay | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperProps.current | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperProps.currentItemId | (deprecated) | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.interval | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperProps.duration | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | -| SwiperProps.circular | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.vertical | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperProps.previousMargin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.nextMargin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.snapToEdge | ✔️ | | ✔️ | | | | | | | | -| SwiperProps.displayMultipleItems | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.skipHiddenItemLayout | | | | | ✔️ | ✔️ | | | | | -| SwiperProps.easingFunction | ✔️ | | ✔️ | ✔️ | | ✔️ | | | | | -| SwiperProps.disableTouch | | | ✔️ | | | | | | | | -| SwiperProps.zoom | | | | | | | ✔️ | | | ✔️ | -| SwiperProps.full | | | | | | | ✔️ | | | ✔️ | -| SwiperProps.activeClass | | | ✔️ | | | | | | | | -| SwiperProps.changingClass | | | ✔️ | | | | | | | | -| SwiperProps.acceleration | | | ✔️ | | | | | | | | -| SwiperProps.disableProgrammaticAnimation | | | ✔️ | | | | | | | | -| SwiperProps.swipeRatio | | | ✔️ | | | | | | | | -| SwiperProps.swipeSpeed | | | ✔️ | | | | | | | | -| SwiperProps.touchAngle | | | ✔️ | | | | | | | | -| SwiperProps.adjustHeight | | | ✔️ | | | | | | | | -| SwiperProps.adjustVerticalHeight | | | ✔️ | | | | | | | | -| SwiperProps.disableTouchmove | | ✔️ | | | | | | | | | -| SwiperProps.effectsProps | | | | | | | ✔️ | | | | -| SwiperProps.onChange | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | -| SwiperProps.onTransition | ✔️ | | ✔️ | ✔️ | ✔️ | | | | | | -| SwiperProps.onAnimationFinish | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.onAnimationEnd | | | ✔️ | | | | | | | | -| SwiperProps.layoutType | ✔️ | | | | | | | | | | -| SwiperProps.transformerType | ✔️ | | | | | | | | | | -| SwiperProps.indicatorType | ✔️ | | | | | | | | | | -| SwiperProps.indicatorMargin | ✔️ | | | | | | | | | | -| SwiperProps.indicatorSpacing | ✔️ | | | | | | | | | | -| SwiperProps.indicatorRadius | ✔️ | | | | | | | | | | -| SwiperProps.indicatorWidth | ✔️ | | | | | | | | | | -| SwiperProps.indicatorHeight | ✔️ | | | | | | | | | | -| SwiperProps.indicatorAlignment | ✔️ | | | | | | | | | | -| SwiperProps.indicatorOffset | ✔️ | | | | | | | | | | -| SwiperProps.scrollWithAnimation | ✔️ | | | | | | | | | | -| SwiperProps.cacheExtent | ✔️ | | | | | | | | | | -| SwiperProps.onScrollStartWorklet | ✔️ | | | | | | | | | | -| SwiperProps.onScrollUpdateWorklet | ✔️ | | | | | | | | | | -| SwiperProps.onScrollEndWorklet | ✔️ | | | | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| SwiperProps.indicatorDots | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperProps.indicatorColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperProps.indicatorActiveColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperProps.autoplay | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperProps.current | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperProps.currentItemId | (deprecated) | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | | +| SwiperProps.interval | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperProps.duration | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | +| SwiperProps.circular | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.vertical | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperProps.previousMargin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| SwiperProps.nextMargin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| SwiperProps.snapToEdge | ✔️ | | ✔️ | | | | | | | | | +| SwiperProps.displayMultipleItems | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| SwiperProps.skipHiddenItemLayout | | | | | ✔️ | ✔️ | | | | | | +| SwiperProps.easingFunction | ✔️ | | ✔️ | ✔️ | | ✔️ | | | | | | +| SwiperProps.disableTouch | | | ✔️ | | | | | | | | ✔️ | +| SwiperProps.zoom | | | | | | | ✔️ | | | ✔️ | | +| SwiperProps.full | | | | | | | ✔️ | | | ✔️ | | +| SwiperProps.activeClass | | | ✔️ | | | | | | | | | +| SwiperProps.changingClass | | | ✔️ | | | | | | | | | +| SwiperProps.acceleration | | | ✔️ | | | | | | | | | +| SwiperProps.disableProgrammaticAnimation | | | ✔️ | | | | | | | | | +| SwiperProps.swipeRatio | | | ✔️ | | | | | | | | | +| SwiperProps.swipeSpeed | | | ✔️ | | | | | | | | | +| SwiperProps.touchAngle | | | ✔️ | | | | | | | | | +| SwiperProps.adjustHeight | | | ✔️ | | | | | | | | | +| SwiperProps.adjustVerticalHeight | | | ✔️ | | | | | | | | | +| SwiperProps.disableTouchmove | | ✔️ | | | | | | | | | | +| SwiperProps.effectsProps | | | | | | | ✔️ | | | | | +| SwiperProps.onChange | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SwiperProps.onTransition | ✔️ | | ✔️ | ✔️ | ✔️ | | | | | | ✔️ | +| SwiperProps.onAnimationFinish | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.onAnimationEnd | | | ✔️ | | | | | | | | | +| SwiperProps.layoutType | ✔️ | | | | | | | | | | | +| SwiperProps.transformerType | ✔️ | | | | | | | | | | | +| SwiperProps.indicatorType | ✔️ | | | | | | | | | | | +| SwiperProps.indicatorMargin | ✔️ | | | | | | | | | | | +| SwiperProps.indicatorSpacing | ✔️ | | | | | | | | | | | +| SwiperProps.indicatorRadius | ✔️ | | | | | | | | | | | +| SwiperProps.indicatorWidth | ✔️ | | | | | | | | | | | +| SwiperProps.indicatorHeight | ✔️ | | | | | | | | | | | +| SwiperProps.indicatorAlignment | ✔️ | | | | | | | | | | | +| SwiperProps.indicatorOffset | ✔️ | | | | | | | | | | | +| SwiperProps.scrollWithAnimation | ✔️ | | | | | | | | | | | +| SwiperProps.cacheExtent | ✔️ | | | | | | | | | | | +| SwiperProps.onScrollStartWorklet | ✔️ | | | | | | | | | | | +| SwiperProps.onScrollUpdateWorklet | ✔️ | | | | | | | | | | | +| SwiperProps.onScrollEndWorklet | ✔️ | | | | | | | | | | | ### TChangeSource diff --git a/docs/components/viewContainer/view.md b/docs/components/viewContainer/view.md index 388dada8a494..feefff5dff9a 100755 --- a/docs/components/viewContainer/view.md +++ b/docs/components/viewContainer/view.md @@ -5,7 +5,7 @@ sidebar_label: View 视图容器 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/view.html) @@ -121,30 +121,30 @@ export default class PageView extends Component { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| ViewProps.hoverClass | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(由于 RN 不支持 hoverClass,故 RN 端的 View 组件实现了 `hoverStyle`属性,写法和 style 类似,只不过 `hoverStyle` 的样式是指定按下去的样式。) | | ✔️ | -| ViewProps.hoverStyle | | | | | | | | ✔️ | | | -| ViewProps.hoverStopPropagation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | -| ViewProps.hoverStartTime | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ViewProps.hoverStayTime | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ViewProps.disableScroll | | | ✔️ | | | | | | | | -| ViewProps.hidden | | | ✔️ | | | | | | | | -| ViewProps.animation | | | ✔️ | | | | | | | | -| ViewProps.role | | | ✔️ | | | | | | | | -| ViewProps.ariaRole | | | | | ✔️ | | | | | | -| ViewProps.ariaLabel | | | | | ✔️ | | | | | | -| ViewProps.onTap | | | ✔️ | | | | | | | | -| ViewProps.onTouchStart | | | ✔️ | | | | | | | | -| ViewProps.onTouchMove | | | ✔️ | | | | | | | | -| ViewProps.onTouchEnd | | | ✔️ | | | | | | | | -| ViewProps.onTouchCancel | | | ✔️ | | | | | | | | -| ViewProps.onLongTap | | | ✔️ | | | | | | | | -| ViewProps.onTransitionEnd | | | ✔️ | | | | | | | | -| ViewProps.onAnimationIteration | | | ✔️ | | | | | | | | -| ViewProps.onAnimationStart | | | ✔️ | | | | | | | | -| ViewProps.onAnimationEnd | | | ✔️ | | | | | | | | -| ViewProps.onAppear | | | ✔️ | | | | | | | | -| ViewProps.onDisappear | | | ✔️ | | | | | | | | -| ViewProps.onFirstAppear | | | ✔️ | | | | | | | | -| ViewProps.catchMove | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| ViewProps.hoverClass | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(由于 RN 不支持 hoverClass,故 RN 端的 View 组件实现了 `hoverStyle`属性,写法和 style 类似,只不过 `hoverStyle` 的样式是指定按下去的样式。) | | ✔️ | ✔️ | +| ViewProps.hoverStyle | | | | | | | | ✔️ | | | | +| ViewProps.hoverStopPropagation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | ✔️ | +| ViewProps.hoverStartTime | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ViewProps.hoverStayTime | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ViewProps.disableScroll | | | ✔️ | | | | | | | | | +| ViewProps.hidden | | | ✔️ | | | | | | | | | +| ViewProps.animation | | | ✔️ | | | | | | | | | +| ViewProps.role | | | ✔️ | | | | | | | | | +| ViewProps.ariaRole | | | | | ✔️ | | | | | | | +| ViewProps.ariaLabel | | | | | ✔️ | | | | | | | +| ViewProps.onTap | | | ✔️ | | | | | | | | | +| ViewProps.onTouchStart | | | ✔️ | | | | | | | | | +| ViewProps.onTouchMove | | | ✔️ | | | | | | | | | +| ViewProps.onTouchEnd | | | ✔️ | | | | | | | | | +| ViewProps.onTouchCancel | | | ✔️ | | | | | | | | | +| ViewProps.onLongTap | | | ✔️ | | | | | | | | | +| ViewProps.onTransitionEnd | | | ✔️ | | | | | | | | | +| ViewProps.onAnimationIteration | | | ✔️ | | | | | | | | | +| ViewProps.onAnimationStart | | | ✔️ | | | | | | | | | +| ViewProps.onAnimationEnd | | | ✔️ | | | | | | | | | +| ViewProps.onAppear | | | ✔️ | | | | | | | | | +| ViewProps.onDisappear | | | ✔️ | | | | | | | | | +| ViewProps.onFirstAppear | | | ✔️ | | | | | | | | | +| ViewProps.catchMove | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | | diff --git a/versioned_docs/version-3.x/components/page-meta.md b/versioned_docs/version-3.x/components/page-meta.md index 7a6732593785..523aef9fc46c 100644 --- a/versioned_docs/version-3.x/components/page-meta.md +++ b/versioned_docs/version-3.x/components/page-meta.md @@ -11,7 +11,7 @@ Taro v3.6.19 开始支持 开发者需要在页面配置里添加:`enablePageMeta: true` ::: -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/page-meta.html) @@ -91,22 +91,22 @@ function Index () { ### API 支持度 -| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | -| PageMetaProps.backgroundTextStyle | ✔️ | | | | | -| PageMetaProps.backgroundColor | ✔️ | ✔️ | | | | -| PageMetaProps.backgroundColorTop | ✔️ | ✔️ | | | | -| PageMetaProps.backgroundColorBottom | ✔️ | ✔️ | | | | -| PageMetaProps.scrollTop | ✔️ | ✔️ | | | | -| PageMetaProps.scrollDuration | ✔️ | ✔️ | | | | -| PageMetaProps.pageStyle | ✔️ | ✔️ | | | | -| PageMetaProps.rootFontSize | ✔️ | ✔️ | | | | -| PageMetaProps.rootBackgroundColor | ✔️ | ✔️ | | | | -| PageMetaProps.pageFontSize | ✔️ | ✔️ | | | | -| PageMetaProps.pageOrientation | ✔️ | | | | | -| PageMetaProps.onResize | ✔️ | | | | | -| PageMetaProps.onScroll | ✔️ | ✔️ | | | | -| PageMetaProps.onScrollDone | ✔️ | | | | | +| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| PageMetaProps.backgroundTextStyle | ✔️ | | | | | | +| PageMetaProps.backgroundColor | ✔️ | ✔️ | | | | | +| PageMetaProps.backgroundColorTop | ✔️ | ✔️ | | | | | +| PageMetaProps.backgroundColorBottom | ✔️ | ✔️ | | | | | +| PageMetaProps.scrollTop | ✔️ | ✔️ | | | | | +| PageMetaProps.scrollDuration | ✔️ | ✔️ | | | | | +| PageMetaProps.pageStyle | ✔️ | ✔️ | | | | | +| PageMetaProps.rootFontSize | ✔️ | ✔️ | | | | | +| PageMetaProps.rootBackgroundColor | ✔️ | ✔️ | | | | | +| PageMetaProps.pageFontSize | ✔️ | ✔️ | | | | | +| PageMetaProps.pageOrientation | ✔️ | | | | | | +| PageMetaProps.onResize | ✔️ | | | | | | +| PageMetaProps.onScroll | ✔️ | ✔️ | | | | | +| PageMetaProps.onScrollDone | ✔️ | | | | | | ### onResizeEventDetail diff --git a/versioned_docs/version-3.x/components/viewContainer/cover-image.md b/versioned_docs/version-3.x/components/viewContainer/cover-image.md index 58afbc97f4e6..1a7dd8d9aed3 100644 --- a/versioned_docs/version-3.x/components/viewContainer/cover-image.md +++ b/versioned_docs/version-3.x/components/viewContainer/cover-image.md @@ -5,7 +5,7 @@ sidebar_label: CoverImage 覆盖在原生组件之上的图片视图。可覆盖的原生组件同cover-view,支持嵌套在cover-view里。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/cover-image.html) @@ -106,16 +106,16 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| CoverImageProps.src | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| CoverImageProps.referrerPolicy | ✔️ | | | | | | | | | -| CoverImageProps.fixedTop | | ✔️ | | | | | | | | -| CoverImageProps.fixedRight | | ✔️ | | | | | | | | -| CoverImageProps.fixedBottom | | ✔️ | | | | | | | | -| CoverImageProps.fixedLeft | | ✔️ | | | | | | | | -| CoverImageProps.ariaRole | | | | ✔️ | | | | | | -| CoverImageProps.ariaLabel | | | | ✔️ | | | | | | -| CoverImageProps.onLoad | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ | -| CoverImageProps.onError | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ | -| CoverImageProps.onTap | | | ✔️ | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| CoverImageProps.src | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | | +| CoverImageProps.referrerPolicy | ✔️ | | | | | | | | | | +| CoverImageProps.fixedTop | | ✔️ | | | | | | | | | +| CoverImageProps.fixedRight | | ✔️ | | | | | | | | | +| CoverImageProps.fixedBottom | | ✔️ | | | | | | | | | +| CoverImageProps.fixedLeft | | ✔️ | | | | | | | | | +| CoverImageProps.ariaRole | | | | ✔️ | | | | | | | +| CoverImageProps.ariaLabel | | | | ✔️ | | | | | | | +| CoverImageProps.onLoad | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ | | +| CoverImageProps.onError | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ | | +| CoverImageProps.onTap | | | ✔️ | | | | | | | | diff --git a/versioned_docs/version-3.x/components/viewContainer/cover-view.md b/versioned_docs/version-3.x/components/viewContainer/cover-view.md index fb83d8ddbfab..4a4fc473b09b 100755 --- a/versioned_docs/version-3.x/components/viewContainer/cover-view.md +++ b/versioned_docs/version-3.x/components/viewContainer/cover-view.md @@ -5,7 +5,7 @@ sidebar_label: CoverView 覆盖在原生组件之上的文本视图。可覆盖的原生组件包括 map、video、canvas、camera、live-player、live-pusher 只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html) @@ -122,31 +122,31 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| CoverViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | -| CoverViewProps.fixedTop | | ✔️ | | | | | | | -| CoverViewProps.fixedRight | | ✔️ | | | | | | | -| CoverViewProps.fixedBottom | | ✔️ | | | | | | | -| CoverViewProps.fixedLeft | | ✔️ | | | | | | | -| CoverViewProps.ariaRole | | | | ✔️ | | | | | -| CoverViewProps.ariaLabel | | | | ✔️ | | | | | -| CoverViewProps.scrollX | | | ✔️ | | | | | | -| CoverViewProps.scrollY | | | ✔️ | | | | | | -| CoverViewProps.upperThreshold | | | ✔️ | | | | | | -| CoverViewProps.lowerThreshold | | | ✔️ | | | | | | -| CoverViewProps.scrollLeft | | | ✔️ | | | | | | -| CoverViewProps.scrollIntoView | | | ✔️ | | | | | | -| CoverViewProps.scrollWithAnimation | | | ✔️ | | | | | | -| CoverViewProps.scrollAnimationDuration | | | ✔️ | | | | | | -| CoverViewProps.enableBackToTop | | | ✔️ | | | | | | -| CoverViewProps.trapScroll | | | ✔️ | | | | | | -| CoverViewProps.disableLowerScroll | | | ✔️ | | | | | | -| CoverViewProps.disableUpperScroll | | | ✔️ | | | | | | -| CoverViewProps.onScrollToUpper | | | ✔️ | | | | | | -| CoverViewProps.onScrollToLower | | | ✔️ | | | | | | -| CoverViewProps.onScroll | | | ✔️ | | | | | | -| CoverViewProps.onTouchStart | | | ✔️ | | | | | | -| CoverViewProps.onTouchMove | | | ✔️ | | | | | | -| CoverViewProps.onTouchEnd | | | ✔️ | | | | | | -| CoverViewProps.onTouchCancel | | | ✔️ | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| CoverViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | +| CoverViewProps.fixedTop | | ✔️ | | | | | | | | +| CoverViewProps.fixedRight | | ✔️ | | | | | | | | +| CoverViewProps.fixedBottom | | ✔️ | | | | | | | | +| CoverViewProps.fixedLeft | | ✔️ | | | | | | | | +| CoverViewProps.ariaRole | | | | ✔️ | | | | | | +| CoverViewProps.ariaLabel | | | | ✔️ | | | | | | +| CoverViewProps.scrollX | | | ✔️ | | | | | | | +| CoverViewProps.scrollY | | | ✔️ | | | | | | | +| CoverViewProps.upperThreshold | | | ✔️ | | | | | | | +| CoverViewProps.lowerThreshold | | | ✔️ | | | | | | | +| CoverViewProps.scrollLeft | | | ✔️ | | | | | | | +| CoverViewProps.scrollIntoView | | | ✔️ | | | | | | | +| CoverViewProps.scrollWithAnimation | | | ✔️ | | | | | | | +| CoverViewProps.scrollAnimationDuration | | | ✔️ | | | | | | | +| CoverViewProps.enableBackToTop | | | ✔️ | | | | | | | +| CoverViewProps.trapScroll | | | ✔️ | | | | | | | +| CoverViewProps.disableLowerScroll | | | ✔️ | | | | | | | +| CoverViewProps.disableUpperScroll | | | ✔️ | | | | | | | +| CoverViewProps.onScrollToUpper | | | ✔️ | | | | | | | +| CoverViewProps.onScrollToLower | | | ✔️ | | | | | | | +| CoverViewProps.onScroll | | | ✔️ | | | | | | | +| CoverViewProps.onTouchStart | | | ✔️ | | | | | | | +| CoverViewProps.onTouchMove | | | ✔️ | | | | | | | +| CoverViewProps.onTouchEnd | | | ✔️ | | | | | | | +| CoverViewProps.onTouchCancel | | | ✔️ | | | | | | | diff --git a/versioned_docs/version-3.x/components/viewContainer/custom-wrapper.md b/versioned_docs/version-3.x/components/viewContainer/custom-wrapper.md index 8577b840c0c7..1318ca7eefdb 100644 --- a/versioned_docs/version-3.x/components/viewContainer/custom-wrapper.md +++ b/versioned_docs/version-3.x/components/viewContainer/custom-wrapper.md @@ -6,7 +6,7 @@ sidebar_label: CustomWrapper custom-wrapper 自定义组件包裹器 当数据更新层级较深时,可用此组件将需要更新的区域包裹起来,这样更新层级将大大减少 -支持情况: +支持情况: ## 类型 diff --git a/versioned_docs/version-3.x/components/viewContainer/match-media.md b/versioned_docs/version-3.x/components/viewContainer/match-media.md index 197d0aae2770..b745cea5a1e6 100644 --- a/versioned_docs/version-3.x/components/viewContainer/match-media.md +++ b/versioned_docs/version-3.x/components/viewContainer/match-media.md @@ -6,7 +6,7 @@ sidebar_label: MatchMedia media query 匹配检测节点。可以指定一组 media query 规则,满足时,这个节点才会被展示。 通过这个节点可以实现“页面宽高在某个范围时才展示某个区域”这样的效果。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/match-media.html) @@ -75,12 +75,12 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | -| MatchMediaProps.minWidth | ✔️ | ✔️ | | | | -| MatchMediaProps.maxWidth | ✔️ | ✔️ | | | | -| MatchMediaProps.width | ✔️ | ✔️ | | | | -| MatchMediaProps.minHeight | ✔️ | ✔️ | | | | -| MatchMediaProps.maxHeight | ✔️ | ✔️ | | | | -| MatchMediaProps.height | ✔️ | ✔️ | | | | -| MatchMediaProps.orientation | ✔️ | ✔️ | | | | +| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| MatchMediaProps.minWidth | ✔️ | ✔️ | | | | | +| MatchMediaProps.maxWidth | ✔️ | ✔️ | | | | | +| MatchMediaProps.width | ✔️ | ✔️ | | | | | +| MatchMediaProps.minHeight | ✔️ | ✔️ | | | | | +| MatchMediaProps.maxHeight | ✔️ | ✔️ | | | | | +| MatchMediaProps.height | ✔️ | ✔️ | | | | | +| MatchMediaProps.orientation | ✔️ | ✔️ | | | | | diff --git a/versioned_docs/version-3.x/components/viewContainer/movable-area.md b/versioned_docs/version-3.x/components/viewContainer/movable-area.md index 5a7ca67a28e8..8b46cb8429c7 100644 --- a/versioned_docs/version-3.x/components/viewContainer/movable-area.md +++ b/versioned_docs/version-3.x/components/viewContainer/movable-area.md @@ -5,7 +5,7 @@ sidebar_label: MovableArea movable-view 的可移动区域 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/movable-area.html) @@ -56,6 +56,6 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| MovableAreaProps.scaleArea | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| MovableAreaProps.scaleArea | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | diff --git a/versioned_docs/version-3.x/components/viewContainer/movable-view.md b/versioned_docs/version-3.x/components/viewContainer/movable-view.md index c9a124852499..6eb52302fa1a 100755 --- a/versioned_docs/version-3.x/components/viewContainer/movable-view.md +++ b/versioned_docs/version-3.x/components/viewContainer/movable-view.md @@ -5,7 +5,7 @@ sidebar_label: MovableView 可移动的视图容器,在页面中可以拖拽滑动。movable-view 必须在 movable-area 组件中,并且必须是直接子节点,否则不能移动。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html) @@ -82,35 +82,35 @@ class App extends Components { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| MovableViewProps.direction | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| MovableViewProps.inertia | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.outOfBounds | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.x | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| MovableViewProps.y | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| MovableViewProps.damping | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.friction | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.disabled | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| MovableViewProps.scale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.scaleMin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.scaleMax | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.scaleValue | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.animation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.onChange | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | -| MovableViewProps.onChangeEnd | | | ✔️ | | | | | | | -| MovableViewProps.onDragStart | | | | | | | ✔️ | | | -| MovableViewProps.onDragEnd | | | | | | | ✔️ | | | -| MovableViewProps.onScale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| MovableViewProps.onTouchStart | | | ✔️ | | | | | | | -| MovableViewProps.onTouchMove | | | ✔️ | | | | | | | -| MovableViewProps.onTouchEnd | | | ✔️ | | | ✔️(此事件的触发顺序会因为当前事件机制引起组件内外注册的事件执行顺序不正常,外部注册的事件可能会优先于内部执行,如需保证执行顺序一致,需要在回调函数中包裹 setTimeout 临时处理) | | | ✔️ | -| MovableViewProps.onTouchCancel | | | ✔️ | | | | | | | -| MovableViewProps.onHTouchMove | ✔️ | ✔️ | | ✔️ | | ✔️ | | | ✔️ | -| MovableViewProps.onVTouchMove | ✔️ | ✔️ | | ✔️ | | ✔️ | | | ✔️ | -| MovableViewProps.catchTouchStart | | | ✔️ | | | | | | | -| MovableViewProps.catchTouchMove | | | ✔️ | | | | | | | -| MovableViewProps.catchTouchEnd | | | ✔️ | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| MovableViewProps.direction | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| MovableViewProps.inertia | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.outOfBounds | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.x | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| MovableViewProps.y | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| MovableViewProps.damping | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.friction | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.disabled | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| MovableViewProps.scale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.scaleMin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.scaleMax | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.scaleValue | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.animation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.onChange | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | ✔️ | +| MovableViewProps.onChangeEnd | | | ✔️ | | | | | | | | +| MovableViewProps.onDragStart | | | | | | | ✔️ | | | | +| MovableViewProps.onDragEnd | | | | | | | ✔️ | | | | +| MovableViewProps.onScale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.onTouchStart | | | ✔️ | | | | | | | | +| MovableViewProps.onTouchMove | | | ✔️ | | | | | | | | +| MovableViewProps.onTouchEnd | | | ✔️ | | | ✔️(此事件的触发顺序会因为当前事件机制引起组件内外注册的事件执行顺序不正常,外部注册的事件可能会优先于内部执行,如需保证执行顺序一致,需要在回调函数中包裹 setTimeout 临时处理) | | | ✔️ | | +| MovableViewProps.onTouchCancel | | | ✔️ | | | | | | | | +| MovableViewProps.onHTouchMove | ✔️ | ✔️ | | ✔️ | | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.onVTouchMove | ✔️ | ✔️ | | ✔️ | | ✔️ | | | ✔️ | ✔️ | +| MovableViewProps.catchTouchStart | | | ✔️ | | | | | | | | +| MovableViewProps.catchTouchMove | | | ✔️ | | | | | | | | +| MovableViewProps.catchTouchEnd | | | ✔️ | | | | | | | | ### TChangeSource diff --git a/versioned_docs/version-3.x/components/viewContainer/native-slot.md b/versioned_docs/version-3.x/components/viewContainer/native-slot.md index 77b253daeb03..c75278f933a7 100644 --- a/versioned_docs/version-3.x/components/viewContainer/native-slot.md +++ b/versioned_docs/version-3.x/components/viewContainer/native-slot.md @@ -5,7 +5,7 @@ sidebar_label: NativeSlot 编译的原生组件支持使用 slot 插槽 -支持情况: +支持情况: > [参考文档](https://github.com/NervJS/taro/pull/12627) diff --git a/versioned_docs/version-3.x/components/viewContainer/page-container.md b/versioned_docs/version-3.x/components/viewContainer/page-container.md index cedfa098d919..d3ae2ab0d27d 100644 --- a/versioned_docs/version-3.x/components/viewContainer/page-container.md +++ b/versioned_docs/version-3.x/components/viewContainer/page-container.md @@ -12,7 +12,7 @@ Bug & Tip 1. tip: 当前页面最多只有 1 个容器,若已存在容器的情况下,无法增加新的容器 2. tip: wx.navigateBack 无法在页面栈顶调用,此时没有上一级页面 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html) @@ -47,26 +47,26 @@ ComponentType ### API 支持度 -| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | -| PageContainerProps.show | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.duration | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.zIndex | ✔️ | ✔️ | | | | -| PageContainerProps.overlay | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.position | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.round | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.overlayStyle | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.customStyle | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.closeOnSlideDown | ✔️ | ✔️ | | | | -| PageContainerProps.onBeforeEnter | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onEnter | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onAfterEnter | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onBeforeLeave | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onLeave | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onAfterLeave | ✔️ | ✔️ | | ✔️ | | -| PageContainerProps.onClickOverlay | ✔️ | ✔️ | | | | -| PageContainerProps.onEnterCancelled | | ✔️ | | | | -| PageContainerProps.onLeaveCancelled | | ✔️ | | | | +| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| PageContainerProps.show | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.duration | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.zIndex | ✔️ | ✔️ | | | | | +| PageContainerProps.overlay | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.position | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.round | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.overlayStyle | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.customStyle | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.closeOnSlideDown | ✔️ | ✔️ | | | | | +| PageContainerProps.onBeforeEnter | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onEnter | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onAfterEnter | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onBeforeLeave | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onLeave | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onAfterLeave | ✔️ | ✔️ | | ✔️ | | | +| PageContainerProps.onClickOverlay | ✔️ | ✔️ | | | | | +| PageContainerProps.onEnterCancelled | | ✔️ | | | | | +| PageContainerProps.onLeaveCancelled | | ✔️ | | | | | ### Position diff --git a/versioned_docs/version-3.x/components/viewContainer/root-portal.md b/versioned_docs/version-3.x/components/viewContainer/root-portal.md index 8b9ed266b5b7..e8c7fc465263 100644 --- a/versioned_docs/version-3.x/components/viewContainer/root-portal.md +++ b/versioned_docs/version-3.x/components/viewContainer/root-portal.md @@ -6,7 +6,7 @@ sidebar_label: RootPortal root-portal 使整个子树从页面中脱离出来,类似于在 CSS 中使用 fixed position 的效果。主要用于制作弹窗、弹出层等。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/root-portal.html) @@ -59,6 +59,6 @@ export default function RootPortalExample { ### API 支持度 -| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | -| RootPortalProps.enable | ✔️ | ✔️ | | | | +| API | 微信小程序 | 支付宝小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| RootPortalProps.enable | ✔️ | ✔️ | | | | | diff --git a/versioned_docs/version-3.x/components/viewContainer/script.md b/versioned_docs/version-3.x/components/viewContainer/script.md index 8d3980be6d73..f91f98b41d5a 100644 --- a/versioned_docs/version-3.x/components/viewContainer/script.md +++ b/versioned_docs/version-3.x/components/viewContainer/script.md @@ -6,7 +6,7 @@ sidebar_label: Script script 类似微信小程序的 wxs 标签,支持引用各种小程序的 xs 文件 只能在 CompileMode 中使用 -支持情况: +支持情况: ## 类型 @@ -50,7 +50,7 @@ export function Index () { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| ScriptProps.src | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | -| ScriptProps.module | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| ScriptProps.src | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | ✔️ | +| ScriptProps.module | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | ✔️ | diff --git a/versioned_docs/version-3.x/components/viewContainer/scroll-view.md b/versioned_docs/version-3.x/components/viewContainer/scroll-view.md index cf23ddbec1ba..8ccf86843ca2 100755 --- a/versioned_docs/version-3.x/components/viewContainer/scroll-view.md +++ b/versioned_docs/version-3.x/components/viewContainer/scroll-view.md @@ -9,7 +9,7 @@ Tips: H5 中 ScrollView 组件是通过一个高度(或宽度)固定的容器内部滚动来实现的,因此务必正确的设置容器的高度。例如: 如果 ScrollView 的高度将 body 撑开,就会同时存在两个滚动条(body 下的滚动条,以及 ScrollView 的滚动条)。 微信小程序 中 ScrollView 组件如果设置 scrollX 横向滚动时,并且子元素为多个时(单个子元素时设置固定宽度则可以正常横向滚动),需要通过 WXSS 设置 `white-space: nowrap` 来保证元素不换行,并对 ScrollView 内部元素设置 `display: inline-block` 来使其能够横向滚动。 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html) @@ -244,69 +244,69 @@ typeof ScrollViewProps ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| ScrollViewProps.scrollX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(二选一) | | ✔️ | -| ScrollViewProps.scrollY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(二选一) | | ✔️ | -| ScrollViewProps.upperThreshold | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.lowerThreshold | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.scrollLeft | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.scrollIntoView | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| ScrollViewProps.scrollWithAnimation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.enableBackToTop | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | | ✔️ | | | -| ScrollViewProps.enableFlex | ✔️ | | | | | ✔️ | | | | | -| ScrollViewProps.scrollAnchoring | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherThreshold | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherDefaultStyle | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherBackground | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTriggered | ✔️ | | | | | | | | | | -| ScrollViewProps.enhanced | ✔️ | ✔️ | | | | | | | | | -| ScrollViewProps.usingSticky | ✔️ | | | | | | | | | | -| ScrollViewProps.bounces | ✔️ | ✔️ | | | | | | | | | -| ScrollViewProps.showScrollbar | ✔️ | | | | | | | | | | -| ScrollViewProps.pagingEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.fastDeceleration | ✔️ | | | | | | | | | | -| ScrollViewProps.scrollAnimationDuration | | | ✔️ | | | | | | | | -| ScrollViewProps.trapScroll | | | ✔️ | | | | | | | | -| ScrollViewProps.disableLowerScroll | | | ✔️ | | | | | | | | -| ScrollViewProps.disableUpperScroll | | | ✔️ | | | | | | | | -| ScrollViewProps.ariaLabel | | | | | ✔️ | | | | | | -| ScrollViewProps.enablePassive | ✔️ | | | | | | | | | | -| ScrollViewProps.type | ✔️ | | | | | | | | | | -| ScrollViewProps.reverse | ✔️ | | | | | | | | | | -| ScrollViewProps.clip | ✔️ | | | | | | | | | | -| ScrollViewProps.cacheExtent | ✔️ | | | | | | | | | | -| ScrollViewProps.minDragDistance | ✔️ | | | | | | | | | | -| ScrollViewProps.padding | ✔️ | | | | | | | | | | -| ScrollViewProps.scrollIntoViewWithinExtent | ✔️ | | | | | | | | | | -| ScrollViewProps.scrollIntoViewAlignment | ✔️ | | | | | | ✔️ | | | ✔️ | -| ScrollViewProps.refresherTwoLevelEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelTriggered | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelThreshold | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelCloseThreshold | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelScrollEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherBallisticRefreshEnabled | ✔️ | | | | | | | | | | -| ScrollViewProps.refresherTwoLevelPinned | ✔️ | | | | | | | | | | -| ScrollViewProps.onScrollToUpper | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.onScrollToLower | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.onScroll | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ScrollViewProps.onScrollStart | ✔️ | | | | | | | | | | -| ScrollViewProps.onScrollEnd | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherPulling | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherRefresh | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherRestore | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherAbort | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherWillRefresh | ✔️ | | | | | | | | | | -| ScrollViewProps.onRefresherStatusChange | ✔️ | | | | | | | | | | -| ScrollViewProps.onDragStart | ✔️ | | | | | | | | | | -| ScrollViewProps.onDragging | ✔️ | | | | | | | | | | -| ScrollViewProps.onDragEnd | ✔️ | | | | | | | | | | -| ScrollViewProps.onTouchStart | | | ✔️ | | | | | | | | -| ScrollViewProps.onTouchMove | | | ✔️ | | | | | | | | -| ScrollViewProps.onTouchEnd | | | ✔️ | | | | | | | | -| ScrollViewProps.onTouchCancel | | | ✔️ | | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| ScrollViewProps.scrollX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(二选一) | | ✔️ | ✔️ | +| ScrollViewProps.scrollY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(二选一) | | ✔️ | ✔️ | +| ScrollViewProps.upperThreshold | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.lowerThreshold | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.scrollLeft | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.scrollIntoView | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| ScrollViewProps.scrollWithAnimation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.enableBackToTop | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | | ✔️ | | | | +| ScrollViewProps.enableFlex | ✔️ | | | | | ✔️ | | | | | | +| ScrollViewProps.scrollAnchoring | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherEnabled | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.refresherThreshold | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.refresherDefaultStyle | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.refresherBackground | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.refresherTriggered | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.enhanced | ✔️ | ✔️ | | | | | | | | | | +| ScrollViewProps.usingSticky | ✔️ | | | | | | | | | | | +| ScrollViewProps.bounces | ✔️ | ✔️ | | | | | | | | | | +| ScrollViewProps.showScrollbar | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.pagingEnabled | ✔️ | | | | | | | | | | | +| ScrollViewProps.fastDeceleration | ✔️ | | | | | | | | | | | +| ScrollViewProps.scrollAnimationDuration | | | ✔️ | | | | | | | | | +| ScrollViewProps.trapScroll | | | ✔️ | | | | | | | | | +| ScrollViewProps.disableLowerScroll | | | ✔️ | | | | | | | | | +| ScrollViewProps.disableUpperScroll | | | ✔️ | | | | | | | | | +| ScrollViewProps.ariaLabel | | | | | ✔️ | | | | | | | +| ScrollViewProps.enablePassive | ✔️ | | | | | | | | | | | +| ScrollViewProps.type | ✔️ | | | | | | | | | | | +| ScrollViewProps.reverse | ✔️ | | | | | | | | | | | +| ScrollViewProps.clip | ✔️ | | | | | | | | | | | +| ScrollViewProps.cacheExtent | ✔️ | | | | | | | | | | | +| ScrollViewProps.minDragDistance | ✔️ | | | | | | | | | | | +| ScrollViewProps.padding | ✔️ | | | | | | | | | | | +| ScrollViewProps.scrollIntoViewWithinExtent | ✔️ | | | | | | | | | | | +| ScrollViewProps.scrollIntoViewAlignment | ✔️ | | | | | | ✔️ | | | ✔️ | | +| ScrollViewProps.refresherTwoLevelEnabled | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelTriggered | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelThreshold | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelCloseThreshold | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelScrollEnabled | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherBallisticRefreshEnabled | ✔️ | | | | | | | | | | | +| ScrollViewProps.refresherTwoLevelPinned | ✔️ | | | | | | | | | | | +| ScrollViewProps.onScrollToUpper | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.onScrollToLower | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.onScroll | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ScrollViewProps.onScrollStart | ✔️ | | | | | | | | | | | +| ScrollViewProps.onScrollEnd | ✔️ | | | | | | | | | | | +| ScrollViewProps.onRefresherPulling | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.onRefresherRefresh | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.onRefresherRestore | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.onRefresherAbort | ✔️ | | | | | | | | | | ✔️ | +| ScrollViewProps.onRefresherWillRefresh | ✔️ | | | | | | | | | | | +| ScrollViewProps.onRefresherStatusChange | ✔️ | | | | | | | | | | | +| ScrollViewProps.onDragStart | ✔️ | | | | | | | | | | | +| ScrollViewProps.onDragging | ✔️ | | | | | | | | | | | +| ScrollViewProps.onDragEnd | ✔️ | | | | | | | | | | | +| ScrollViewProps.onTouchStart | | | ✔️ | | | | | | | | | +| ScrollViewProps.onTouchMove | | | ✔️ | | | | | | | | | +| ScrollViewProps.onTouchEnd | | | ✔️ | | | | | | | | | +| ScrollViewProps.onTouchCancel | | | ✔️ | | | | | | | | | | 参数 | 类型 | | --- | --- | diff --git a/versioned_docs/version-3.x/components/viewContainer/slot.md b/versioned_docs/version-3.x/components/viewContainer/slot.md index dcc8de7292e1..14e8a39825fa 100644 --- a/versioned_docs/version-3.x/components/viewContainer/slot.md +++ b/versioned_docs/version-3.x/components/viewContainer/slot.md @@ -5,7 +5,7 @@ sidebar_label: Slot slot 插槽 -支持情况: +支持情况: ## 类型 @@ -42,7 +42,7 @@ export default class SlotView extends Component { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| SlotProps.name | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | -| SlotProps.varName | | ✔️ | | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| SlotProps.name | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | ✔️ | +| SlotProps.varName | | ✔️ | | | | | | | | | diff --git a/versioned_docs/version-3.x/components/viewContainer/swiper-item.md b/versioned_docs/version-3.x/components/viewContainer/swiper-item.md index 34e2745654fd..6ae369acad2d 100644 --- a/versioned_docs/version-3.x/components/viewContainer/swiper-item.md +++ b/versioned_docs/version-3.x/components/viewContainer/swiper-item.md @@ -6,7 +6,7 @@ sidebar_label: SwiperItem 仅可放置在 swiper 组件中,宽高自动设置为100% > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147) -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/swiper-item.html) @@ -92,8 +92,8 @@ class App extends Component { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 抖音小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| SwiperItemProps.itemId | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperItemProps.skipHiddenItemLayout | ✔️ | | | | | | | | -| SwiperItemProps.deep | | | | | ✔️ | | | | +| API | 微信小程序 | 百度小程序 | 抖音小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| SwiperItemProps.itemId | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperItemProps.skipHiddenItemLayout | ✔️ | | | | | | | | | +| SwiperItemProps.deep | | | | | ✔️ | | | | | diff --git a/versioned_docs/version-3.x/components/viewContainer/swiper.md b/versioned_docs/version-3.x/components/viewContainer/swiper.md index 47f27044fd83..42af7348d477 100755 --- a/versioned_docs/version-3.x/components/viewContainer/swiper.md +++ b/versioned_docs/version-3.x/components/viewContainer/swiper.md @@ -6,7 +6,7 @@ sidebar_label: Swiper 滑块视图容器。其中只可放置 swiper-item 组件,否则会导致未定义的行为。 > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147) -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html) @@ -124,43 +124,43 @@ class App extends Component { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| SwiperProps.indicatorDots | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.indicatorColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.indicatorActiveColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.autoplay | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.current | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.currentItemId | (deprecated) | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.interval | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.duration | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.circular | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.vertical | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.previousMargin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.nextMargin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.snapToEdge | ✔️ | | ✔️ | | | | | | | | -| SwiperProps.displayMultipleItems | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | -| SwiperProps.skipHiddenItemLayout | | | | | ✔️ | ✔️ | | | | | -| SwiperProps.easingFunction | ✔️ | | ✔️ | ✔️ | | ✔️ | | | | | -| SwiperProps.disableTouch | | | ✔️ | | | | | | | | -| SwiperProps.zoom | | | | | | | ✔️ | | | ✔️ | -| SwiperProps.full | | | | | | | ✔️ | | | ✔️ | -| SwiperProps.activeClass | | | ✔️ | | | | | | | | -| SwiperProps.changingClass | | | ✔️ | | | | | | | | -| SwiperProps.acceleration | | | ✔️ | | | | | | | | -| SwiperProps.disableProgrammaticAnimation | | | ✔️ | | | | | | | | -| SwiperProps.swipeRatio | | | ✔️ | | | | | | | | -| SwiperProps.swipeSpeed | | | ✔️ | | | | | | | | -| SwiperProps.touchAngle | | | ✔️ | | | | | | | | -| SwiperProps.adjustHeight | | | ✔️ | | | | | | | | -| SwiperProps.adjustVerticalHeight | | | ✔️ | | | | | | | | -| SwiperProps.disableTouchmove | | ✔️ | | | | | | | | | -| SwiperProps.scrollWithAnimation | ✔️ | | | | | | | | | | -| SwiperProps.cacheExtent | ✔️ | | | | | | | | | | -| SwiperProps.onChange | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.onTransition | ✔️ | | ✔️ | ✔️ | ✔️ | | | | | | -| SwiperProps.onAnimationFinish | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| SwiperProps.onAnimationEnd | | | ✔️ | | | | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| SwiperProps.indicatorDots | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.indicatorColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.indicatorActiveColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.autoplay | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.current | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.currentItemId | (deprecated) | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | | +| SwiperProps.interval | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.duration | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| SwiperProps.circular | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.vertical | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.previousMargin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| SwiperProps.nextMargin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| SwiperProps.snapToEdge | ✔️ | | ✔️ | | | | | | | | | +| SwiperProps.displayMultipleItems | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ | ✔️ | +| SwiperProps.skipHiddenItemLayout | | | | | ✔️ | ✔️ | | | | | | +| SwiperProps.easingFunction | ✔️ | | ✔️ | ✔️ | | ✔️ | | | | | | +| SwiperProps.disableTouch | | | ✔️ | | | | | | | | ✔️ | +| SwiperProps.zoom | | | | | | | ✔️ | | | ✔️ | | +| SwiperProps.full | | | | | | | ✔️ | | | ✔️ | | +| SwiperProps.activeClass | | | ✔️ | | | | | | | | | +| SwiperProps.changingClass | | | ✔️ | | | | | | | | | +| SwiperProps.acceleration | | | ✔️ | | | | | | | | | +| SwiperProps.disableProgrammaticAnimation | | | ✔️ | | | | | | | | | +| SwiperProps.swipeRatio | | | ✔️ | | | | | | | | | +| SwiperProps.swipeSpeed | | | ✔️ | | | | | | | | | +| SwiperProps.touchAngle | | | ✔️ | | | | | | | | | +| SwiperProps.adjustHeight | | | ✔️ | | | | | | | | | +| SwiperProps.adjustVerticalHeight | | | ✔️ | | | | | | | | | +| SwiperProps.disableTouchmove | | ✔️ | | | | | | | | | | +| SwiperProps.scrollWithAnimation | ✔️ | | | | | | | | | | | +| SwiperProps.cacheExtent | ✔️ | | | | | | | | | | | +| SwiperProps.onChange | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.onTransition | ✔️ | | ✔️ | ✔️ | ✔️ | | | | | | ✔️ | +| SwiperProps.onAnimationFinish | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| SwiperProps.onAnimationEnd | | | ✔️ | | | | | | | | | ### TChangeSource diff --git a/versioned_docs/version-3.x/components/viewContainer/view.md b/versioned_docs/version-3.x/components/viewContainer/view.md index 388dada8a494..feefff5dff9a 100755 --- a/versioned_docs/version-3.x/components/viewContainer/view.md +++ b/versioned_docs/version-3.x/components/viewContainer/view.md @@ -5,7 +5,7 @@ sidebar_label: View 视图容器 -支持情况: +支持情况: > [参考文档](https://developers.weixin.qq.com/miniprogram/dev/component/view.html) @@ -121,30 +121,30 @@ export default class PageView extends Component { ### API 支持度 -| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| ViewProps.hoverClass | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(由于 RN 不支持 hoverClass,故 RN 端的 View 组件实现了 `hoverStyle`属性,写法和 style 类似,只不过 `hoverStyle` 的样式是指定按下去的样式。) | | ✔️ | -| ViewProps.hoverStyle | | | | | | | | ✔️ | | | -| ViewProps.hoverStopPropagation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | -| ViewProps.hoverStartTime | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ViewProps.hoverStayTime | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | -| ViewProps.disableScroll | | | ✔️ | | | | | | | | -| ViewProps.hidden | | | ✔️ | | | | | | | | -| ViewProps.animation | | | ✔️ | | | | | | | | -| ViewProps.role | | | ✔️ | | | | | | | | -| ViewProps.ariaRole | | | | | ✔️ | | | | | | -| ViewProps.ariaLabel | | | | | ✔️ | | | | | | -| ViewProps.onTap | | | ✔️ | | | | | | | | -| ViewProps.onTouchStart | | | ✔️ | | | | | | | | -| ViewProps.onTouchMove | | | ✔️ | | | | | | | | -| ViewProps.onTouchEnd | | | ✔️ | | | | | | | | -| ViewProps.onTouchCancel | | | ✔️ | | | | | | | | -| ViewProps.onLongTap | | | ✔️ | | | | | | | | -| ViewProps.onTransitionEnd | | | ✔️ | | | | | | | | -| ViewProps.onAnimationIteration | | | ✔️ | | | | | | | | -| ViewProps.onAnimationStart | | | ✔️ | | | | | | | | -| ViewProps.onAnimationEnd | | | ✔️ | | | | | | | | -| ViewProps.onAppear | | | ✔️ | | | | | | | | -| ViewProps.onDisappear | | | ✔️ | | | | | | | | -| ViewProps.onFirstAppear | | | ✔️ | | | | | | | | -| ViewProps.catchMove | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | +| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid | ASCF元服务 | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| ViewProps.hoverClass | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(由于 RN 不支持 hoverClass,故 RN 端的 View 组件实现了 `hoverStyle`属性,写法和 style 类似,只不过 `hoverStyle` 的样式是指定按下去的样式。) | | ✔️ | ✔️ | +| ViewProps.hoverStyle | | | | | | | | ✔️ | | | | +| ViewProps.hoverStopPropagation | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | ✔️ | +| ViewProps.hoverStartTime | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ViewProps.hoverStayTime | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | +| ViewProps.disableScroll | | | ✔️ | | | | | | | | | +| ViewProps.hidden | | | ✔️ | | | | | | | | | +| ViewProps.animation | | | ✔️ | | | | | | | | | +| ViewProps.role | | | ✔️ | | | | | | | | | +| ViewProps.ariaRole | | | | | ✔️ | | | | | | | +| ViewProps.ariaLabel | | | | | ✔️ | | | | | | | +| ViewProps.onTap | | | ✔️ | | | | | | | | | +| ViewProps.onTouchStart | | | ✔️ | | | | | | | | | +| ViewProps.onTouchMove | | | ✔️ | | | | | | | | | +| ViewProps.onTouchEnd | | | ✔️ | | | | | | | | | +| ViewProps.onTouchCancel | | | ✔️ | | | | | | | | | +| ViewProps.onLongTap | | | ✔️ | | | | | | | | | +| ViewProps.onTransitionEnd | | | ✔️ | | | | | | | | | +| ViewProps.onAnimationIteration | | | ✔️ | | | | | | | | | +| ViewProps.onAnimationStart | | | ✔️ | | | | | | | | | +| ViewProps.onAnimationEnd | | | ✔️ | | | | | | | | | +| ViewProps.onAppear | | | ✔️ | | | | | | | | | +| ViewProps.onDisappear | | | ✔️ | | | | | | | | | +| ViewProps.onFirstAppear | | | ✔️ | | | | | | | | | +| ViewProps.catchMove | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | | |