Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
unidocs-zh
提交
2eb6887d
unidocs-zh
项目概览
DCloud
/
unidocs-zh
通知
3200
Star
106
Fork
813
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
94
列表
看板
标记
里程碑
合并请求
70
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
unidocs-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
94
Issue
94
列表
看板
标记
里程碑
合并请求
70
合并请求
70
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
2eb6887d
编写于
10月 14, 2024
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 更新 harmony 组件 api 兼容性
上级
0ff8825b
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
20 addition
and
20 deletion
+20
-20
docs/.vuepress/utils/uniappApiJson.json
docs/.vuepress/utils/uniappApiJson.json
+1
-1
docs/.vuepress/utils/uniappComJson.json
docs/.vuepress/utils/uniappComJson.json
+1
-1
docs/api/canvas/CanvasContext.md
docs/api/canvas/CanvasContext.md
+3
-3
docs/api/ui/bgcolor.md
docs/api/ui/bgcolor.md
+6
-6
docs/api/ui/media-query-observer.md
docs/api/ui/media-query-observer.md
+1
-1
docs/api/ui/navigationbar.md
docs/api/ui/navigationbar.md
+6
-6
docs/api/ui/window.md
docs/api/ui/window.md
+2
-2
未找到文件。
docs/.vuepress/utils/uniappApiJson.json
浏览文件 @
2eb6887d
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
docs/.vuepress/utils/uniappComJson.json
浏览文件 @
2eb6887d
{
"view"
:{
"name"
:
"## view"
,
"description"
:
"基本视图容器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| hover-class | HBuilderX 4.23 |
\n
| hover-stop-propagation | HBuilderX 4.23 |
\n
| hover-start-time | HBuilderX 4.23 |
\n
| hover-stay-time | HBuilderX 4.23 |"
},
"scroll-view"
:{
"name"
:
"## scroll-view"
,
"description"
:
"可滚动视图容器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| direction | HBuilderX 4.23 |
\n
| upper-threshold | HBuilderX 4.23 |
\n
| lower-threshold | HBuilderX 4.23 |
\n
| scroll-top | HBuilderX 4.23 |
\n
| scroll-left | HBuilderX 4.23 |
\n
| scroll-into-view | HBuilderX 4.23 |
\n
| scroll-with-animation | HBuilderX 4.23 |
\n
| refresher-enabled | HBuilderX 4.23 |
\n
| refresher-threshold | HBuilderX 4.23 |
\n
| refresher-default-style | HBuilderX 4.23 |
\n
| refresher-background | HBuilderX 4.23 |
\n
| refresher-triggered | HBuilderX 4.23 |
\n
| show-scrollbar | HBuilderX 4.23 |
\n
| @refresherpulling | HBuilderX 4.23 |
\n
| @refresherrefresh | HBuilderX 4.23 |
\n
| @refresherrestore | HBuilderX 4.23 |
\n
| @refresherabort | HBuilderX 4.23 |
\n
| @scrolltoupper | HBuilderX 4.23 |
\n
| @scrolltolower | HBuilderX 4.23 |
\n
| @scroll | HBuilderX 4.23 |
\n
| rebound | - |
\n
| scroll-y | HBuilderX 4.23 |
\n
| scroll-x | HBuilderX 4.23 |"
},
"swiper-item"
:{
"name"
:
"## swiper-item"
,
"description"
:
"swiper的唯一合法子组件。每个swiper-item代表一个滑块。宽高自动设置为100%"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| item-id | - |"
},
"swiper"
:{
"name"
:
"## swiper"
,
"description"
:
"滑块视图容器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| indicator-dots | HBuilderX 4.23 |
\n
| indicator-color | HBuilderX 4.23 |
\n
| indicator-active-color | HBuilderX 4.23 |
\n
| active-class | - |
\n
| changing-class | - |
\n
| acceleration | - |
\n
| disable-programmatic-animation | - |
\n
| disable-touch | - |
\n
| touchable | - |
\n
| easing-function | - |
\n
| autoplay | HBuilderX 4.23 |
\n
| current | HBuilderX 4.23 |
\n
| current-item-id | HBuilderX 4.23 |
\n
| interval | HBuilderX 4.23 |
\n
| duration | HBuilderX 4.23 |
\n
| circular | HBuilderX 4.23 |
\n
| vertical | HBuilderX 4.23 |
\n
| rebound | - |
\n
| previous-margin | - |
\n
| next-margin | - |
\n
| display-multiple-items | - |
\n
| skip-hidden-item-layout | - |
\n
| @change | HBuilderX 4.23 |
\n
| @transition | HBuilderX 4.23 |
\n
| @animationfinish | HBuilderX 4.23 |"
},
"match-media"
:{
"name"
:
"## match-media"
,
"description"
:
"media query 匹配检测节点"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| width | - |
\n
| min-width | - |
\n
| max-width | - |
\n
| height | - |
\n
| min-height | - |
\n
| max-height | - |
\n
| orientation | - |"
},
"movable-area"
:{
"name"
:
"## movable-area"
,
"description"
:
"movable-view 的可移动区域"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
},
"movable-view"
:{
"name"
:
"## movable-view"
,
"description"
:
"可移动的视图容器,在页面中可以拖拽滑动"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| direction | HBuilderX 4.23 |
\n
| inertia | HBuilderX 4.23 |
\n
| out-of-bounds | HBuilderX 4.23 |
\n
| x | HBuilderX 4.23 |
\n
| y | HBuilderX 4.23 |
\n
| damping | HBuilderX 4.23 |
\n
| friction | HBuilderX 4.23 |
\n
| disabled | HBuilderX 4.23 |
\n
| scale | HBuilderX 4.23 |
\n
| scale-min | HBuilderX 4.23 |
\n
| scale-max | HBuilderX 4.23 |
\n
| scale-value | HBuilderX 4.23 |
\n
| animation | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |
\n
| @scale | HBuilderX 4.23 |"
},
"cover-view"
:{
"name"
:
"## cover-view"
,
"description"
:
"覆盖在原生组件之上的文本视图,可覆盖的原生组件包括map、video、canvas、camera,只支持嵌套cover-view、cover-image"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"cover-image"
:{
"name"
:
"## cover-image"
,
"description"
:
"覆盖在原生组件之上的图片视图,可覆盖的原生组件同cover-view,支持嵌套在cover-view里。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| v-for | - |
\n
| v-if | - |
\n
| v-show | - |
\n
| src | - |"
},
"list-item"
:{
"name"
:
"## list-item"
,
"description"
:
"list-view组件的唯一合法子组件。每个item是一行"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| type | - |"
},
"sticky-header"
:{
"name"
:
"## sticky-header"
,
"description"
:
"吸顶布局容器 <br/><br/> 注意:暂时仅支持作为list-view、sticky-section的子节点, sticky-header不支持css样式!当一个容器视图设置多个sticky-header时,后一个sticky-header会停靠在前一个sticky-header的末尾处。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"sticky-section"
:{
"name"
:
"## sticky-section"
,
"description"
:
"吸顶布局容器 <br/><br/> 注意:暂时仅支持作为list-view的子节点, sticky-section不支持css样式!"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"list-view"
:{
"name"
:
"## list-view"
,
"description"
:
"列表组件"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"nested-scroll-header"
:{
"name"
:
"## nested-scroll-header"
,
"description"
:
" scroll-view 嵌套模式场景中属于外层 scroll-view 的节点,仅支持作为
\\
<scroll-view type='nested'> 嵌套模式的直接子节点。不支持复数子节点,渲染时会取其第一个子节点来渲染"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"nested-scroll-body"
:{
"name"
:
"## nested-scroll-body"
,
"description"
:
" scroll-view 嵌套模式场景中属于嵌套内层 scroll-view 的父节点,仅支持作为
\\
<scroll-view type='nested'> 嵌套模式的直接子节点。不支持复数子节点,渲染时会取其第一个子节点来渲染"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"icon"
:{
"name"
:
"## icon"
,
"description"
:
"图标"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| type | HBuilderX 4.23 |
\n
| size | HBuilderX 4.23 |
\n
| color | HBuilderX 4.23 |"
},
"text"
:{
"name"
:
"## text"
,
"description"
:
"文本"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| selectable | HBuilderX 4.23 |
\n
| space | HBuilderX 4.23 |
\n
| decode | HBuilderX 4.23 |"
},
"rich-text"
:{
"name"
:
"## rich-text"
,
"description"
:
"富文本。可渲染文字样式、图片、超链接。支持部分HTML标签"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| nodes | HBuilderX 4.23 |
\n
| selectable | HBuilderX 4.23 |
\n
| @itemclick | HBuilderX 4.23 |"
},
"progress"
:{
"name"
:
"## progress"
,
"description"
:
"进度条"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| duration | HBuilderX 4.23 |
\n
| percent | HBuilderX 4.23 |
\n
| show-info | HBuilderX 4.23 |
\n
| stroke-width | HBuilderX 4.23 |
\n
| activeColor | HBuilderX 4.23 |
\n
| backgroundColor | HBuilderX 4.23 |
\n
| active | HBuilderX 4.23 |
\n
| active-mode | HBuilderX 4.23 |"
},
"button"
:{
"name"
:
"## button"
,
"description"
:
"按钮"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| hover-class | HBuilderX 4.23 |
\n
| hover-start-time | HBuilderX 4.23 |
\n
| hover-stay-time | HBuilderX 4.23 |
\n
| size | HBuilderX 4.23 |
\n
| type | HBuilderX 4.23 |
\n
| plain | HBuilderX 4.23 |
\n
| loading | HBuilderX 4.23 |
\n
| form-type | HBuilderX 4.23 |
\n
| open-type | - |
\n
| @error | - |
\n
| @chooseinvoicetitle | - |
\n
| @subscribe | - |
\n
| @login | - |"
},
"checkbox"
:{
"name"
:
"## checkbox"
,
"description"
:
"多选项。在1组check-group中可选择多个"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| value | HBuilderX 4.23 |
\n
| checked | HBuilderX 4.23 |
\n
| backgroundColor | HBuilderX 4.23 |
\n
| borderColor | HBuilderX 4.23 |
\n
| activeBackgroundColor | HBuilderX 4.23 |
\n
| activeBorderColor | HBuilderX 4.23 |
\n
| iconColor | HBuilderX 4.23 |
\n
| color | HBuilderX 4.23 |"
},
"checkbox-group"
:{
"name"
:
"## checkbox-group"
,
"description"
:
"多选框组"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |"
},
"form"
:{
"name"
:
"## form"
,
"description"
:
"表单"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| @submit | HBuilderX 4.23 |
\n
| @reset | HBuilderX 4.23 |"
},
"input"
:{
"name"
:
"## input"
,
"description"
:
"输入框"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| disabled | HBuilderX 4.23 |
\n
| value | HBuilderX 4.23 |
\n
| type | HBuilderX 4.23 |
\n
| password | HBuilderX 4.23 |
\n
| placeholder | HBuilderX 4.23 |
\n
| placeholder-style | HBuilderX 4.23 |
\n
| placeholder-class | HBuilderX 4.23 |
\n
| maxlength | HBuilderX 4.23 |
\n
| cursor-color | HBuilderX 4.23 |
\n
| auto-focus | HBuilderX 4.23 |
\n
| focus | HBuilderX 4.23 |
\n
| confirm-type | HBuilderX 4.23 |
\n
| confirm-hold | HBuilderX 4.23 |
\n
| cursor | HBuilderX 4.23 |
\n
| selection-start | HBuilderX 4.23 |
\n
| selection-end | HBuilderX 4.23 |
\n
| inputmode | HBuilderX 4.23 |
\n
| @input | HBuilderX 4.23 |
\n
| @focus | HBuilderX 4.23 |
\n
| @blur | HBuilderX 4.23 |
\n
| @confirm | HBuilderX 4.23 |"
},
"editor"
:{
"name"
:
"## editor"
,
"description"
:
"富文本编辑器,可以对图片、文字进行编辑。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| read-only | - |
\n
| placeholder | - |
\n
| show-img-size | - |
\n
| show-img-toolbar | - |
\n
| show-img-resize | - |
\n
| @ready | - |
\n
| @focus | - |
\n
| @blur | - |
\n
| @input | - |
\n
| @statuschange | - |"
},
"label"
:{
"name"
:
"## label"
,
"description"
:
"用来改进表单组件的可用性,使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| for | HBuilderX 4.23 |"
},
"picker"
:{
"name"
:
"## picker"
,
"description"
:
"从底部弹起的滚动选择器,现支持五种选择器,通过mode来区分,分别是普通选择器,多列选择器,时间选择器,日期选择器,省市区选择器,默认是普通选择器。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | - |
\n
| mode | - |
\n
| range | - |
\n
| range-key | - |
\n
| value | - |
\n
| start | - |
\n
| end | - |
\n
| fields | - |
\n
| custom-item | - |
\n
| @change | - |
\n
| @columnchange | - |
\n
| @cancel | - |"
},
"picker-view-column"
:{
"name"
:
"## picker-view-column"
,
"description"
:
"仅可放置于 picker-view 中,其子节点未继承 picker-view 的选中框的高度,需要自己设置高度并居中"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
},
"picker-view"
:{
"name"
:
"## picker-view"
,
"description"
:
"嵌入页面的滚动选择器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| value | HBuilderX 4.23 |
\n
| indicator-style | HBuilderX 4.23 |
\n
| indicator-class | HBuilderX 4.23 |
\n
| mask-style | HBuilderX 4.23 |
\n
| mask-class | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |"
},
"radio"
:{
"name"
:
"## radio"
,
"description"
:
"单选项。在1组radio-group中只能选中1个"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| value | HBuilderX 4.23 |
\n
| checked | HBuilderX 4.23 |
\n
| backgroundColor | HBuilderX 4.23 |
\n
| borderColor | HBuilderX 4.23 |
\n
| activeBackgroundColor | HBuilderX 4.23 |
\n
| activeBorderColor | HBuilderX 4.23 |
\n
| iconColor | HBuilderX 4.23 |
\n
| color | HBuilderX 4.23 |"
},
"radio-group"
:{
"name"
:
"## radio-group"
,
"description"
:
"单选框组"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |"
},
"slider"
:{
"name"
:
"## slider"
,
"description"
:
"滑动选择器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | - |
\n
| disabled | - |
\n
| min | - |
\n
| max | - |
\n
| step | - |
\n
| value | - |
\n
| backgroundColor | - |
\n
| block-size | - |
\n
| show-value | - |
\n
| @change | - |
\n
| @changing | - |
\n
| block-color | - |
\n
| activeColor | - |"
},
"switch"
:{
"name"
:
"## switch"
,
"description"
:
"开关选择器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| checked | HBuilderX 4.23 |
\n
| type | HBuilderX 4.23 |
\n
| disabled | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |
\n
| color | HBuilderX 4.23 |"
},
"textarea"
:{
"name"
:
"## textarea"
,
"description"
:
"多行输入框"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| value | HBuilderX 4.23 |
\n
| placeholder | HBuilderX 4.23 |
\n
| placeholder-style | HBuilderX 4.23 |
\n
| placeholder-class | HBuilderX 4.23 |
\n
| maxlength | HBuilderX 4.23 |
\n
| auto-focus | HBuilderX 4.23 |
\n
| focus | HBuilderX 4.23 |
\n
| confirm-type | HBuilderX 4.23 |
\n
| cursor | HBuilderX 4.23 |
\n
| confirm-hold | HBuilderX 4.23 |
\n
| auto-height | HBuilderX 4.23 |
\n
| cursor-color | - |
\n
| selection-start | HBuilderX 4.23 |
\n
| selection-end | HBuilderX 4.23 |
\n
| inputmode | - |
\n
| @confirm | HBuilderX 4.23 |
\n
| @input | HBuilderX 4.23 |
\n
| @linechange | HBuilderX 4.23 |
\n
| @blur | HBuilderX 4.23 |
\n
| @focus | HBuilderX 4.23 |"
},
"navigator"
:{
"name"
:
"## navigator"
,
"description"
:
"页面链接"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| target | HBuilderX 4.23 |
\n
| url | HBuilderX 4.23 |
\n
| open-type | HBuilderX 4.23 |
\n
| delta | HBuilderX 4.23 |
\n
| app-id | - |
\n
| path | HBuilderX 4.23 |
\n
| extra-data | - |
\n
| version | - |
\n
| animation-type | HBuilderX 4.23 |
\n
| animation-duration | HBuilderX 4.23 |
\n
| hover-class | - |
\n
| hover-stop-propagation | - |
\n
| hover-start-time | - |
\n
| hover-stay-time | - |
\n
| render-link | HBuilderX 4.23 |"
},
"image"
:{
"name"
:
"## image"
,
"description"
:
"图片"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| src | HBuilderX 4.23 |
\n
| mode | HBuilderX 4.23 |
\n
| draggable | HBuilderX 4.23 |
\n
| @error | HBuilderX 4.23 |
\n
| @load | HBuilderX 4.23 |"
},
"video"
:{
"name"
:
"## video"
,
"description"
:
"视频"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| loop | HBuilderX 4.23 |
\n
| src | HBuilderX 4.23 |
\n
| initial-time | HBuilderX 4.23 |
\n
| duration | HBuilderX 4.23 |
\n
| controls | HBuilderX 4.23 |
\n
| danmu-list | HBuilderX 4.23 |
\n
| danmu-btn | HBuilderX 4.23 |
\n
| enable-danmu | HBuilderX 4.23 |
\n
| autoplay | HBuilderX 4.23 |
\n
| muted | HBuilderX 4.23 |
\n
| page-gesture | HBuilderX 4.23 |
\n
| direction | HBuilderX 4.23 |
\n
| show-progress | HBuilderX 4.23 |
\n
| show-fullscreen-btn | HBuilderX 4.23 |
\n
| show-play-btn | HBuilderX 4.23 |
\n
| show-center-play-btn | HBuilderX 4.23 |
\n
| show-loading | HBuilderX 4.23 |
\n
| enable-progress-gesture | HBuilderX 4.23 |
\n
| object-fit | HBuilderX 4.23 |
\n
| poster | HBuilderX 4.23 |
\n
| show-mute-btn | HBuilderX 4.23 |
\n
| title | HBuilderX 4.23 |
\n
| play-btn-position | HBuilderX 4.23 |
\n
| enable-play-gesture | HBuilderX 4.23 |
\n
| auto-pause-if-navigate | HBuilderX 4.23 |
\n
| auto-pause-if-open-native | HBuilderX 4.23 |
\n
| vslide-gesture | HBuilderX 4.23 |
\n
| vslide-gesture-in-fullscreen | HBuilderX 4.23 |
\n
| poster-for-crawler | HBuilderX 4.23 |
\n
| play-strategy | HBuilderX 4.23 |
\n
| is-live | HBuilderX 4.23 |
\n
| @loadedmetadata | HBuilderX 4.23 |
\n
| @play | HBuilderX 4.23 |
\n
| @pause | HBuilderX 4.23 |
\n
| @ended | HBuilderX 4.23 |
\n
| @timeupdate | HBuilderX 4.23 |
\n
| @fullscreenchange | HBuilderX 4.23 |
\n
| @waiting | HBuilderX 4.23 |
\n
| @error | HBuilderX 4.23 |
\n
| @progress | HBuilderX 4.23 |
\n
| @fullscreenclick | HBuilderX 4.23 |
\n
| @controlstoggle | HBuilderX 4.23 |"
},
"animation-view"
:{
"name"
:
"## animation-view"
,
"description"
:
"Lottie 动画
\n
> 本 Component 是 uni ext component,需下载插件:[animation-view](https://ext.dcloud.net.cn/plugin?name=uni-animation-view)
\n
"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"live-player"
:{
"name"
:
"## live-player"
,
"description"
:
"实时音视频播放"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| src | - |
\n
| mode | - |
\n
| autoplay | - |
\n
| muted | - |
\n
| orientation | - |
\n
| object-fit | - |
\n
| background-mute | - |
\n
| min-cache | - |
\n
| max-cache | - |
\n
| @statechange | - |
\n
| @fullscreenchange | - |
\n
| @netstatus | - |"
},
"live-pusher"
:{
"name"
:
"## live-pusher"
,
"description"
:
"实时音视频录制"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| url | - |
\n
| mode | - |
\n
| autopush | - |
\n
| muted | - |
\n
| enable-camera | - |
\n
| auto-focus | - |
\n
| orientation | - |
\n
| beauty | - |
\n
| aspect | - |
\n
| min-bitrate | - |
\n
| max-bitrate | - |
\n
| waiting-image | - |
\n
| waiting-image-md5 | - |
\n
| background-mute | - |
\n
| @statechange | - |
\n
| @error | - |
\n
| @netstatus | - |"
},
"audio"
:{
"name"
:
"## audio"
,
"description"
:
"音频"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| loop | - |
\n
| src | - |
\n
| controls | - |
\n
| poster | - |
\n
| name | - |
\n
| author | - |
\n
| @error | - |
\n
| @play | - |
\n
| @pause | - |
\n
| @timeupdate | - |
\n
| @ended | - |"
},
"page-meta"
:{
"name"
:
"## page-meta"
,
"description"
:
"页面元数据,用于设置页面的一些属性,如背景色、下拉刷新等"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| background-text-style | - |
\n
| background-color | - |
\n
| background-color-top | - |
\n
| background-color-bottom | - |
\n
| scroll-top | - |
\n
| scroll-duration | - |
\n
| page-style | - |
\n
| root-font-size | - |
\n
| enable-pull-down-refresh | - |
\n
| @resize | - |
\n
| @scroll | - |
\n
| @scrolldone | - |"
},
"map"
:{
"name"
:
"## map"
,
"description"
:
"地图"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.25 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| longitude | - |
\n
| latitude | - |
\n
| scale | - |
\n
| markers | - |
\n
| covers | - |
\n
| polyline | - |
\n
| circles | - |
\n
| controls | - |
\n
| include-points | - |
\n
| show-location | - |
\n
| @markertap | - |
\n
| @callouttap | - |
\n
| @controltap | - |
\n
| @regionchange | - |
\n
| @updated | - |"
},
"canvas"
:{
"name"
:
"## canvas"
,
"description"
:
"画布"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
},
"web-view"
:{
"name"
:
"## web-view"
,
"description"
:
"承载网页的容器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| src | HBuilderX 4.23 |
\n
| allow | x |
\n
| sandbox | x |
\n
| fullscreen | x |
\n
| @message | HBuilderX 4.23 |"
},
"navigation-bar"
:{
"name"
:
"## navigation-bar"
,
"description"
:
"页面导航条配置节点"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| title | - |
\n
| title-icon | - |
\n
| titleIcon-radius | - |
\n
| subtitle-text | - |
\n
| subtitle-size | - |
\n
| subtitle-color | - |
\n
| subtitle-overflow | - |
\n
| title-align | - |
\n
| background-image | - |
\n
| background-repeat | - |
\n
| blur-effect | - |
\n
| loading | - |
\n
| front-color | - |
\n
| background-color | - |
\n
| color-animation-duration | - |
\n
| color-animation-timing-func | - |"
},
"custom-tab-bar"
:{
"name"
:
"## custom-tab-bar"
,
"description"
:
"自定义tabBar"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| direction | - |
\n
| show-icon | - |
\n
| selected | - |
\n
| @onTabItemTap | - |"
},
"unicloud-db"
:{
"name"
:
"## unicloud-db"
,
"description"
:
"是一个数据库查询组件,它将clientDB的API封装为组件,进一步减少开发者使用所需的代码量。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| id | - |
\n
| v-slot:default | - |
\n
| collection | - |
\n
| field | - |
\n
| where | - |
\n
| orderby | - |
\n
| groupby | - |
\n
| group-field | - |
\n
| distinct | - |
\n
| page-data | - |
\n
| page-current | - |
\n
| page-size | - |
\n
| getone | - |
\n
| getcount | - |
\n
| gettree | - |
\n
| startwith | - |
\n
| limitlevel | - |
\n
| manual | - |
\n
| loadtime | - |
\n
| @load | - |
\n
| @error | - |
\n
| action | - |"
}}
\ No newline at end of file
{
"view"
:{
"name"
:
"## view"
,
"description"
:
"基本视图容器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| hover-class | HBuilderX 4.23 |
\n
| hover-stop-propagation | HBuilderX 4.23 |
\n
| hover-start-time | HBuilderX 4.23 |
\n
| hover-stay-time | HBuilderX 4.23 |"
},
"scroll-view"
:{
"name"
:
"## scroll-view"
,
"description"
:
"可滚动视图容器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| direction | HBuilderX 4.23 |
\n
| upper-threshold | HBuilderX 4.23 |
\n
| lower-threshold | HBuilderX 4.23 |
\n
| scroll-top | HBuilderX 4.23 |
\n
| scroll-left | HBuilderX 4.23 |
\n
| scroll-into-view | HBuilderX 4.23 |
\n
| scroll-with-animation | HBuilderX 4.23 |
\n
| refresher-enabled | HBuilderX 4.23 |
\n
| refresher-threshold | HBuilderX 4.23 |
\n
| refresher-default-style | HBuilderX 4.23 |
\n
| refresher-background | HBuilderX 4.23 |
\n
| refresher-triggered | HBuilderX 4.23 |
\n
| show-scrollbar | HBuilderX 4.23 |
\n
| @refresherpulling | HBuilderX 4.23 |
\n
| @refresherrefresh | HBuilderX 4.23 |
\n
| @refresherrestore | HBuilderX 4.23 |
\n
| @refresherabort | HBuilderX 4.23 |
\n
| @scrolltoupper | HBuilderX 4.23 |
\n
| @scrolltolower | HBuilderX 4.23 |
\n
| @scroll | HBuilderX 4.23 |
\n
| rebound | - |
\n
| scroll-y | HBuilderX 4.23 |
\n
| scroll-x | HBuilderX 4.23 |"
},
"swiper-item"
:{
"name"
:
"## swiper-item"
,
"description"
:
"swiper的唯一合法子组件。每个swiper-item代表一个滑块。宽高自动设置为100%"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| item-id | - |"
},
"swiper"
:{
"name"
:
"## swiper"
,
"description"
:
"滑块视图容器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| indicator-dots | HBuilderX 4.23 |
\n
| indicator-color | HBuilderX 4.23 |
\n
| indicator-active-color | HBuilderX 4.23 |
\n
| active-class | - |
\n
| changing-class | - |
\n
| acceleration | - |
\n
| disable-programmatic-animation | - |
\n
| disable-touch | - |
\n
| touchable | - |
\n
| easing-function | - |
\n
| autoplay | HBuilderX 4.23 |
\n
| current | HBuilderX 4.23 |
\n
| current-item-id | HBuilderX 4.23 |
\n
| interval | HBuilderX 4.23 |
\n
| duration | HBuilderX 4.23 |
\n
| circular | HBuilderX 4.23 |
\n
| vertical | HBuilderX 4.23 |
\n
| rebound | - |
\n
| previous-margin | - |
\n
| next-margin | - |
\n
| display-multiple-items | - |
\n
| skip-hidden-item-layout | - |
\n
| @change | HBuilderX 4.23 |
\n
| @transition | HBuilderX 4.23 |
\n
| @animationfinish | HBuilderX 4.23 |"
},
"match-media"
:{
"name"
:
"## match-media"
,
"description"
:
"media query 匹配检测节点"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.28 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| width | - |
\n
| min-width | - |
\n
| max-width | - |
\n
| height | - |
\n
| min-height | - |
\n
| max-height | - |
\n
| orientation | - |"
},
"movable-area"
:{
"name"
:
"## movable-area"
,
"description"
:
"movable-view 的可移动区域"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
},
"movable-view"
:{
"name"
:
"## movable-view"
,
"description"
:
"可移动的视图容器,在页面中可以拖拽滑动"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| direction | HBuilderX 4.23 |
\n
| inertia | HBuilderX 4.23 |
\n
| out-of-bounds | HBuilderX 4.23 |
\n
| x | HBuilderX 4.23 |
\n
| y | HBuilderX 4.23 |
\n
| damping | HBuilderX 4.23 |
\n
| friction | HBuilderX 4.23 |
\n
| disabled | HBuilderX 4.23 |
\n
| scale | HBuilderX 4.23 |
\n
| scale-min | HBuilderX 4.23 |
\n
| scale-max | HBuilderX 4.23 |
\n
| scale-value | HBuilderX 4.23 |
\n
| animation | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |
\n
| @scale | HBuilderX 4.23 |"
},
"cover-view"
:{
"name"
:
"## cover-view"
,
"description"
:
"覆盖在原生组件之上的文本视图,可覆盖的原生组件包括map、video、canvas、camera,只支持嵌套cover-view、cover-image"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.28 |
\n
"
},
"cover-image"
:{
"name"
:
"## cover-image"
,
"description"
:
"覆盖在原生组件之上的图片视图,可覆盖的原生组件同cover-view,支持嵌套在cover-view里。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.28 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| v-for | - |
\n
| v-if | - |
\n
| v-show | - |
\n
| src | - |"
},
"list-item"
:{
"name"
:
"## list-item"
,
"description"
:
"list-view组件的唯一合法子组件。每个item是一行"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| type | - |"
},
"sticky-header"
:{
"name"
:
"## sticky-header"
,
"description"
:
"吸顶布局容器 <br/><br/> 注意:暂时仅支持作为list-view、sticky-section的子节点, sticky-header不支持css样式!当一个容器视图设置多个sticky-header时,后一个sticky-header会停靠在前一个sticky-header的末尾处。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"sticky-section"
:{
"name"
:
"## sticky-section"
,
"description"
:
"吸顶布局容器 <br/><br/> 注意:暂时仅支持作为list-view的子节点, sticky-section不支持css样式!"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"list-view"
:{
"name"
:
"## list-view"
,
"description"
:
"列表组件"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"nested-scroll-header"
:{
"name"
:
"## nested-scroll-header"
,
"description"
:
" scroll-view 嵌套模式场景中属于外层 scroll-view 的节点,仅支持作为
\\
<scroll-view type='nested'> 嵌套模式的直接子节点。不支持复数子节点,渲染时会取其第一个子节点来渲染"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"nested-scroll-body"
:{
"name"
:
"## nested-scroll-body"
,
"description"
:
" scroll-view 嵌套模式场景中属于嵌套内层 scroll-view 的父节点,仅支持作为
\\
<scroll-view type='nested'> 嵌套模式的直接子节点。不支持复数子节点,渲染时会取其第一个子节点来渲染"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"icon"
:{
"name"
:
"## icon"
,
"description"
:
"图标"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| type | HBuilderX 4.23 |
\n
| size | HBuilderX 4.23 |
\n
| color | HBuilderX 4.23 |"
},
"text"
:{
"name"
:
"## text"
,
"description"
:
"文本"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| selectable | HBuilderX 4.23 |
\n
| space | HBuilderX 4.23 |
\n
| decode | HBuilderX 4.23 |"
},
"rich-text"
:{
"name"
:
"## rich-text"
,
"description"
:
"富文本。可渲染文字样式、图片、超链接。支持部分HTML标签"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| nodes | HBuilderX 4.23 |
\n
| selectable | HBuilderX 4.23 |
\n
| @itemclick | HBuilderX 4.23 |"
},
"progress"
:{
"name"
:
"## progress"
,
"description"
:
"进度条"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| duration | HBuilderX 4.23 |
\n
| percent | HBuilderX 4.23 |
\n
| show-info | HBuilderX 4.23 |
\n
| stroke-width | HBuilderX 4.23 |
\n
| activeColor | HBuilderX 4.23 |
\n
| backgroundColor | HBuilderX 4.23 |
\n
| active | HBuilderX 4.23 |
\n
| active-mode | HBuilderX 4.23 |"
},
"native-view"
:{
"name"
:
"## native-view"
,
"description"
:
"自定义原生View组件"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"button"
:{
"name"
:
"## button"
,
"description"
:
"按钮"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| hover-class | HBuilderX 4.23 |
\n
| hover-start-time | HBuilderX 4.23 |
\n
| hover-stay-time | HBuilderX 4.23 |
\n
| size | HBuilderX 4.23 |
\n
| type | HBuilderX 4.23 |
\n
| plain | HBuilderX 4.23 |
\n
| loading | HBuilderX 4.23 |
\n
| form-type | HBuilderX 4.23 |
\n
| open-type | - |
\n
| @error | - |
\n
| @chooseinvoicetitle | - |
\n
| @subscribe | - |
\n
| @login | - |"
},
"checkbox"
:{
"name"
:
"## checkbox"
,
"description"
:
"多选项。在1组check-group中可选择多个"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| value | HBuilderX 4.23 |
\n
| checked | HBuilderX 4.23 |
\n
| backgroundColor | HBuilderX 4.23 |
\n
| borderColor | HBuilderX 4.23 |
\n
| activeBackgroundColor | HBuilderX 4.23 |
\n
| activeBorderColor | HBuilderX 4.23 |
\n
| iconColor | HBuilderX 4.23 |
\n
| color | HBuilderX 4.23 |"
},
"checkbox-group"
:{
"name"
:
"## checkbox-group"
,
"description"
:
"多选框组"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |"
},
"form"
:{
"name"
:
"## form"
,
"description"
:
"表单"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| @submit | HBuilderX 4.23 |
\n
| @reset | HBuilderX 4.23 |"
},
"input"
:{
"name"
:
"## input"
,
"description"
:
"输入框"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| disabled | HBuilderX 4.23 |
\n
| value | HBuilderX 4.23 |
\n
| type | HBuilderX 4.23 |
\n
| password | HBuilderX 4.23 |
\n
| placeholder | HBuilderX 4.23 |
\n
| placeholder-style | HBuilderX 4.23 |
\n
| placeholder-class | HBuilderX 4.23 |
\n
| maxlength | HBuilderX 4.23 |
\n
| cursor-color | HBuilderX 4.23 |
\n
| auto-focus | HBuilderX 4.23 |
\n
| focus | HBuilderX 4.23 |
\n
| confirm-type | HBuilderX 4.23 |
\n
| confirm-hold | HBuilderX 4.23 |
\n
| cursor | HBuilderX 4.23 |
\n
| selection-start | HBuilderX 4.23 |
\n
| selection-end | HBuilderX 4.23 |
\n
| inputmode | HBuilderX 4.23 |
\n
| @input | HBuilderX 4.23 |
\n
| @focus | HBuilderX 4.23 |
\n
| @blur | HBuilderX 4.23 |
\n
| @confirm | HBuilderX 4.23 |"
},
"editor"
:{
"name"
:
"## editor"
,
"description"
:
"富文本编辑器,可以对图片、文字进行编辑。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| read-only | - |
\n
| placeholder | - |
\n
| show-img-size | - |
\n
| show-img-toolbar | - |
\n
| show-img-resize | - |
\n
| @ready | - |
\n
| @focus | - |
\n
| @blur | - |
\n
| @input | - |
\n
| @statuschange | - |"
},
"label"
:{
"name"
:
"## label"
,
"description"
:
"用来改进表单组件的可用性,使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| for | HBuilderX 4.23 |"
},
"picker"
:{
"name"
:
"## picker"
,
"description"
:
"从底部弹起的滚动选择器,现支持五种选择器,通过mode来区分,分别是普通选择器,多列选择器,时间选择器,日期选择器,省市区选择器,默认是普通选择器。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | - |
\n
| mode | - |
\n
| range | - |
\n
| range-key | - |
\n
| value | - |
\n
| start | - |
\n
| end | - |
\n
| fields | - |
\n
| custom-item | - |
\n
| @change | - |
\n
| @columnchange | - |
\n
| @cancel | - |"
},
"picker-view-column"
:{
"name"
:
"## picker-view-column"
,
"description"
:
"仅可放置于 picker-view 中,其子节点未继承 picker-view 的选中框的高度,需要自己设置高度并居中"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
},
"picker-view"
:{
"name"
:
"## picker-view"
,
"description"
:
"嵌入页面的滚动选择器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| value | HBuilderX 4.23 |
\n
| indicator-style | HBuilderX 4.23 |
\n
| indicator-class | HBuilderX 4.23 |
\n
| mask-style | HBuilderX 4.23 |
\n
| mask-class | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |"
},
"radio"
:{
"name"
:
"## radio"
,
"description"
:
"单选项。在1组radio-group中只能选中1个"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| disabled | HBuilderX 4.23 |
\n
| value | HBuilderX 4.23 |
\n
| checked | HBuilderX 4.23 |
\n
| backgroundColor | HBuilderX 4.23 |
\n
| borderColor | HBuilderX 4.23 |
\n
| activeBackgroundColor | HBuilderX 4.23 |
\n
| activeBorderColor | HBuilderX 4.23 |
\n
| iconColor | HBuilderX 4.23 |
\n
| color | HBuilderX 4.23 |"
},
"radio-group"
:{
"name"
:
"## radio-group"
,
"description"
:
"单选框组"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |"
},
"slider"
:{
"name"
:
"## slider"
,
"description"
:
"滑动选择器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | - |
\n
| disabled | - |
\n
| min | - |
\n
| max | - |
\n
| step | - |
\n
| value | - |
\n
| backgroundColor | - |
\n
| block-size | - |
\n
| show-value | - |
\n
| @change | - |
\n
| @changing | - |
\n
| block-color | - |
\n
| activeColor | - |"
},
"switch"
:{
"name"
:
"## switch"
,
"description"
:
"开关选择器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| checked | HBuilderX 4.23 |
\n
| type | HBuilderX 4.23 |
\n
| disabled | HBuilderX 4.23 |
\n
| @change | HBuilderX 4.23 |
\n
| color | HBuilderX 4.23 |"
},
"textarea"
:{
"name"
:
"## textarea"
,
"description"
:
"多行输入框"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| name | HBuilderX 4.23 |
\n
| value | HBuilderX 4.23 |
\n
| placeholder | HBuilderX 4.23 |
\n
| placeholder-style | HBuilderX 4.23 |
\n
| placeholder-class | HBuilderX 4.23 |
\n
| maxlength | HBuilderX 4.23 |
\n
| auto-focus | HBuilderX 4.23 |
\n
| focus | HBuilderX 4.23 |
\n
| confirm-type | HBuilderX 4.23 |
\n
| cursor | HBuilderX 4.23 |
\n
| confirm-hold | HBuilderX 4.23 |
\n
| auto-height | HBuilderX 4.23 |
\n
| cursor-color | - |
\n
| selection-start | HBuilderX 4.23 |
\n
| selection-end | HBuilderX 4.23 |
\n
| inputmode | - |
\n
| @confirm | HBuilderX 4.23 |
\n
| @input | HBuilderX 4.23 |
\n
| @linechange | HBuilderX 4.23 |
\n
| @blur | HBuilderX 4.23 |
\n
| @focus | HBuilderX 4.23 |"
},
"navigator"
:{
"name"
:
"## navigator"
,
"description"
:
"页面链接"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| target | HBuilderX 4.23 |
\n
| url | HBuilderX 4.23 |
\n
| open-type | HBuilderX 4.23 |
\n
| delta | HBuilderX 4.23 |
\n
| app-id | - |
\n
| path | HBuilderX 4.23 |
\n
| extra-data | - |
\n
| version | - |
\n
| animation-type | HBuilderX 4.23 |
\n
| animation-duration | HBuilderX 4.23 |
\n
| hover-class | - |
\n
| hover-stop-propagation | - |
\n
| hover-start-time | - |
\n
| hover-stay-time | - |
\n
| render-link | HBuilderX 4.23 |"
},
"image"
:{
"name"
:
"## image"
,
"description"
:
"图片"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| src | HBuilderX 4.23 |
\n
| mode | HBuilderX 4.23 |
\n
| draggable | HBuilderX 4.23 |
\n
| @error | HBuilderX 4.23 |
\n
| @load | HBuilderX 4.23 |"
},
"video"
:{
"name"
:
"## video"
,
"description"
:
"视频"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| loop | HBuilderX 4.23 |
\n
| src | HBuilderX 4.23 |
\n
| initial-time | HBuilderX 4.23 |
\n
| duration | HBuilderX 4.23 |
\n
| controls | HBuilderX 4.23 |
\n
| danmu-list | HBuilderX 4.23 |
\n
| danmu-btn | HBuilderX 4.23 |
\n
| enable-danmu | HBuilderX 4.23 |
\n
| autoplay | HBuilderX 4.23 |
\n
| muted | HBuilderX 4.23 |
\n
| page-gesture | HBuilderX 4.23 |
\n
| direction | HBuilderX 4.23 |
\n
| show-progress | HBuilderX 4.23 |
\n
| show-fullscreen-btn | HBuilderX 4.23 |
\n
| show-play-btn | HBuilderX 4.23 |
\n
| show-center-play-btn | HBuilderX 4.23 |
\n
| show-loading | HBuilderX 4.23 |
\n
| enable-progress-gesture | HBuilderX 4.23 |
\n
| object-fit | HBuilderX 4.23 |
\n
| poster | HBuilderX 4.23 |
\n
| show-mute-btn | HBuilderX 4.23 |
\n
| title | HBuilderX 4.23 |
\n
| play-btn-position | HBuilderX 4.23 |
\n
| enable-play-gesture | HBuilderX 4.23 |
\n
| auto-pause-if-navigate | HBuilderX 4.23 |
\n
| auto-pause-if-open-native | HBuilderX 4.23 |
\n
| vslide-gesture | HBuilderX 4.23 |
\n
| vslide-gesture-in-fullscreen | HBuilderX 4.23 |
\n
| poster-for-crawler | HBuilderX 4.23 |
\n
| play-strategy | HBuilderX 4.23 |
\n
| is-live | HBuilderX 4.23 |
\n
| @loadedmetadata | HBuilderX 4.23 |
\n
| @play | HBuilderX 4.23 |
\n
| @pause | HBuilderX 4.23 |
\n
| @ended | HBuilderX 4.23 |
\n
| @timeupdate | HBuilderX 4.23 |
\n
| @fullscreenchange | HBuilderX 4.23 |
\n
| @waiting | HBuilderX 4.23 |
\n
| @error | HBuilderX 4.23 |
\n
| @progress | HBuilderX 4.23 |
\n
| @fullscreenclick | HBuilderX 4.23 |
\n
| @controlstoggle | HBuilderX 4.23 |"
},
"animation-view"
:{
"name"
:
"## animation-view"
,
"description"
:
"Lottie 动画
\n
> 本 Component 是 uni ext component,需下载插件:[animation-view](https://ext.dcloud.net.cn/plugin?name=uni-animation-view)
\n
"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
},
"live-player"
:{
"name"
:
"## live-player"
,
"description"
:
"实时音视频播放"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.28 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| src | - |
\n
| mode | - |
\n
| autoplay | - |
\n
| muted | - |
\n
| orientation | - |
\n
| object-fit | - |
\n
| background-mute | - |
\n
| min-cache | - |
\n
| max-cache | - |
\n
| @statechange | - |
\n
| @fullscreenchange | - |
\n
| @netstatus | - |"
},
"live-pusher"
:{
"name"
:
"## live-pusher"
,
"description"
:
"实时音视频录制"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| url | - |
\n
| mode | - |
\n
| autopush | - |
\n
| muted | - |
\n
| enable-camera | - |
\n
| auto-focus | - |
\n
| orientation | - |
\n
| beauty | - |
\n
| aspect | - |
\n
| min-bitrate | - |
\n
| max-bitrate | - |
\n
| waiting-image | - |
\n
| waiting-image-md5 | - |
\n
| background-mute | - |
\n
| @statechange | - |
\n
| @error | - |
\n
| @netstatus | - |"
},
"audio"
:{
"name"
:
"## audio"
,
"description"
:
"音频"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| loop | - |
\n
| src | - |
\n
| controls | - |
\n
| poster | - |
\n
| name | - |
\n
| author | - |
\n
| @error | - |
\n
| @play | - |
\n
| @pause | - |
\n
| @timeupdate | - |
\n
| @ended | - |"
},
"page-meta"
:{
"name"
:
"## page-meta"
,
"description"
:
"页面元数据,用于设置页面的一些属性,如背景色、下拉刷新等"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| background-text-style | - |
\n
| background-color | - |
\n
| background-color-top | - |
\n
| background-color-bottom | - |
\n
| scroll-top | - |
\n
| scroll-duration | - |
\n
| page-style | - |
\n
| root-font-size | - |
\n
| enable-pull-down-refresh | - |
\n
| @resize | - |
\n
| @scroll | - |
\n
| @scrolldone | - |"
},
"map"
:{
"name"
:
"## map"
,
"description"
:
"地图"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.25 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| longitude | - |
\n
| latitude | - |
\n
| scale | - |
\n
| markers | - |
\n
| covers | - |
\n
| polyline | - |
\n
| circles | - |
\n
| controls | - |
\n
| include-points | - |
\n
| show-location | - |
\n
| @markertap | - |
\n
| @callouttap | - |
\n
| @controltap | - |
\n
| @regionchange | - |
\n
| @updated | - |
\n
| @tap | - |
\n
| @anchorpointtap | - |
\n
| @poitap | - |"
},
"canvas"
:{
"name"
:
"## canvas"
,
"description"
:
"画布"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
},
"ad"
:{
"name"
:
"## ad"
,
"description"
:
"广告"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| adpid | x |
\n
| @load | x |
\n
| @close | x |
\n
| @error | x |"
},
"web-view"
:{
"name"
:
"## web-view"
,
"description"
:
"承载网页的容器"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| HBuilderX 4.23 |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| src | HBuilderX 4.23 |
\n
| allow | x |
\n
| sandbox | x |
\n
| fullscreen | x |
\n
| @message | HBuilderX 4.23 |"
},
"navigation-bar"
:{
"name"
:
"## navigation-bar"
,
"description"
:
"页面导航条配置节点"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| title | - |
\n
| title-icon | - |
\n
| titleIcon-radius | - |
\n
| subtitle-text | - |
\n
| subtitle-size | - |
\n
| subtitle-color | - |
\n
| subtitle-overflow | - |
\n
| title-align | - |
\n
| background-image | - |
\n
| background-repeat | - |
\n
| blur-effect | - |
\n
| loading | - |
\n
| front-color | - |
\n
| background-color | - |
\n
| color-animation-duration | - |
\n
| color-animation-timing-func | - |"
},
"custom-tab-bar"
:{
"name"
:
"## custom-tab-bar"
,
"description"
:
"自定义tabBar"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| direction | - |
\n
| show-icon | - |
\n
| selected | - |
\n
| @onTabItemTap | - |"
},
"unicloud-db"
:{
"name"
:
"## unicloud-db"
,
"description"
:
"是一个数据库查询组件,它将clientDB的API封装为组件,进一步减少开发者使用所需的代码量。"
,
"compatibility"
:
"
\n
**HarmonyOS Next** 兼容性
\n
| HarmonyOS Next |
\n
| :- |
\n
| x |
\n
"
,
"attribute"
:
"**属性 HarmonyOS Next 兼容性**
\n
| 名称 | HarmonyOS Next 兼容性 |
\n
| :- | :- |
\n
| id | - |
\n
| v-slot:default | - |
\n
| collection | - |
\n
| field | - |
\n
| where | - |
\n
| orderby | - |
\n
| groupby | - |
\n
| group-field | - |
\n
| distinct | - |
\n
| page-data | - |
\n
| page-current | - |
\n
| page-size | - |
\n
| getone | - |
\n
| getcount | - |
\n
| gettree | - |
\n
| startwith | - |
\n
| limitlevel | - |
\n
| manual | - |
\n
| loadtime | - |
\n
| @load | - |
\n
| @error | - |
\n
| action | - |"
}}
\ No newline at end of file
docs/api/canvas/CanvasContext.md
浏览文件 @
2eb6887d
...
...
@@ -2,9 +2,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|√|√|√|√|
|App|H
armonyOS Next|H
5|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|
HBuilderX 4.23|
√|√|√|√|√|√|√|√|
App-nvue下如需使用canvas,暂未封装为uni API,可参考
[
文档
](
https://github.com/dcloudio/NvueCanvasDemo
)
使用。
...
...
docs/api/ui/bgcolor.md
浏览文件 @
2eb6887d
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H
5
|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|√|√|√|
|App|H
armonyOS Next|Web
|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|
HBuilderX 4.31|
x|√|x|√|x|√|√|√|
**参数说明**
...
...
@@ -35,9 +35,9 @@ uni.setBackgroundColor({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|√|√|√|
|App|H
armonyOS Next|H
5|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|
HBuilderX 4.31|
x|√|x|√|x|√|√|√|
**参数说明**
...
...
docs/api/ui/media-query-observer.md
浏览文件 @
2eb6887d
...
...
@@ -11,7 +11,7 @@ MediaQueryObserver 对象,用于监听页面 media query 状态的变化,如
|App|HarmonyOS Next|微信小程序|H5|支付宝小程序|qq小程序|百度小程序|抖音小程序|飞书小程序|360小程序|快应用|
|:-|:-|:-|:-|:-|:-|:-|:-|:-|:-|:-|
|2.8.12+,app-vue|
x
|基础库 2.11.1+|√|√|√|√|√|x|√|x|
|2.8.12+,app-vue|
HBuilderX 4.28
|基础库 2.11.1+|√|√|√|√|√|x|√|x|
注意:支付宝小程序、qq小程序、百度小程序、抖音小程序,暂不支持监听屏幕动态改变,即只执行一次媒体查询。
...
...
docs/api/ui/navigationbar.md
浏览文件 @
2eb6887d
...
...
@@ -101,9 +101,9 @@ uni.setNavigationBarColor({
**平台差异说明**
|App|H
armonyOS Next|H
5|微信小程序|支付宝小程序|百度小程序|抖音小程序|飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|
x|
√|√|√|√|1.48.0+|x|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|抖音小程序|飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|√|√|√|1.48.0+|x|√|√|√|
<!-- UNIAPPAPIJSON.showNavigationBarLoading.compatibility -->
...
...
@@ -129,9 +129,9 @@ uni.showNavigationBarLoading()
**平台差异说明**
|App|H
armonyOS Next|H
5|微信小程序|支付宝小程序|百度小程序|抖音小程序|飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|
x|
√|√|√|√|1.48.0+|x|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|抖音小程序|飞书小程序|QQ小程序|快手小程序|京东小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|√|√|√|1.48.0+|x|√|√|√|
<!-- UNIAPPAPIJSON.hideNavigationBarLoading.compatibility -->
...
...
docs/api/ui/window.md
浏览文件 @
2eb6887d
...
...
@@ -7,7 +7,7 @@
|App|HarmonyOS Next|H5|微信小程序 |支付宝小程序|百度小程序|抖音小程序|飞书小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|
x
|√|√|x|x|x|√|√|
|√|
HBuilderX 4.25
|√|√|x|x|x|√|√|
**CALLBACK 参数说明**
...
...
@@ -38,7 +38,7 @@ uni.onWindowResize(windowResizeCallback)
|App|HarmonyOS Next|H5|微信小程序|支付宝小程序|百度小程序|抖音小程序|飞书小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|
x
|√|√|x|x|x|√|
|√|
HBuilderX 4.31
|√|√|x|x|x|√|
**Tips**
-
`CALLBACK`
为调用
`uni.onWindowResize`
时传入的
`CALLBACK`
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录