The OpenHarmony JS UI framework provides basic, container, and canvas UI components and standard CSS animation capabilities. It supports the web-development-like programming paradigm.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
update build fix agent Signed-off-by: sunfei <sunfei.sun@huawei.com> 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: Ie771c51f47e6a2b246fc611b124bae6abefe0d76 | 1 个月前 | |
add drawable relese sdd Signed-off-by: liyujie43 <liyujie43@huawei.com> 🤖 AI[28%] 🔧 Human Fixed[0%] 🧑 Human[72%] 👌 AI Adopted[100%] Change-Id: I9836c48f53c871039e2bdfb76ff6727030c5dec8 | 8 天前 | |
toast Signed-off-by: zhaoyong70 <zhaoyong70@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] Change-Id: I2284b07136c3f3202f4a7b72f4e94bc0d6d64744 | 2 天前 | |
!87651 merge h_0728_01 into master 修复 StartDragListenerImpl 跨线程销毁风险 Created-by: wangzhone Commit-by: wangzhone Merged-by: openharmony_ci Description: **IssueNo**: https://gitcode.com/openharmony/arkui_ace_engine/issues/79820 **Description**: 修复 StartDragListenerImpl 跨线程销毁风险 **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87651 | 11 小时前 | |
!87299 merge sqfresource into master add id Created-by: song-song-song Commit-by: song-song-song Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/arkui_ace_engine/issues/79472 **Description**: (提交描述) 通过resourceid 处理 **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [ ] 否/No ### TDD自验结果/TDD Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [ ] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87299 | 2 天前 | |
fix diff trunk Signed-off-by: Lichtschein <linhu5@huawei.com> | 3 天前 | |
!87915 merge materialBench-curve into master materialBench-curve Created-by: xuhang363 Commit-by: xuhang363 Merged-by: openharmony_ci Description: **IssueNo**: **Description**: (提交描述) **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87915 | 13 小时前 | |
!87014 merge tabswiperfix into master 修复swiper、tabs与js逻辑不一致 Created-by: yuanlin94 Commit-by: yuanlin94 Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/arkui_ace_engine/issues/79186 **Description**: (提交描述) **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87014 | 18 天前 | |
!87922 merge codex/drag-kb-review-fix into master docs(kb): clarify external drag and snapshot dependencies Created-by: zenix_zxy Commit-by: Zenix Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/arkui_ace_engine/issues/80044 **Description**: clarify external drag and snapshot dependencies **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87922 | 13 小时前 | |
!87662 merge 0728_addSample into master 补充scroll的sample用例 Created-by: dlh11234 Commit-by: dlh11234 Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/arkui_ace_engine/issues/79825?ref=&did=4199708#tid-4199708 **Description**: 补充scroll的sample用例 **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87662 | 3 天前 | |
fix readme Signed-off-by: luoying_ace_admin <luoying19@huawei.com> Change-Id: Ic0dd127ba4dffe28a669de3ba6c2feb70e6037f2 | 3 年前 | |
!87749 merge dev_navRestoreOnLow into master add navigation recycle on low memory Created-by: sun-xinyan Commit-by: 孙鑫炎 Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/arkui_ace_engine/issues/79797 **Description**: add navigation recycle on low memory **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87749 | 11 小时前 | |
add A2UI Render Signed-off-by: dutie123 <dujingcheng@huawei.com> | 4 个月前 | |
!87915 merge materialBench-curve into master materialBench-curve Created-by: xuhang363 Commit-by: xuhang363 Merged-by: openharmony_ci Description: **IssueNo**: **Description**: (提交描述) **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87915 | 13 小时前 | |
!87749 merge dev_navRestoreOnLow into master add navigation recycle on low memory Created-by: sun-xinyan Commit-by: 孙鑫炎 Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/arkui_ace_engine/issues/79797 **Description**: add navigation recycle on low memory **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87749 | 11 小时前 | |
格式修改 Signed-off-by: happy <wangxueli8@huawei.com> Change-Id: I185ade5df4b3aabe03f7b671beadb4cb41ff8564 | 5 个月前 | |
merge 0728 Change-Id: I1bd1e4762af6e3a49fc523afee90676ab9a0cca5 Signed-off-by: huiqiangdev <huiqiangdev@icloud.com> | 10 个月前 | |
add image/picker docs Signed-off-by: liyujie43 <liyujie43@huawei.com> Change-Id: I5a307716630c4bf4c5b72a7d8e80e6afc77d9af1 | 18 天前 | |
pageScene场景识别能力增强 Signed-off-by: linzuoquan <linzuoquan1@huawei.com> Change-Id: If745cd83c61fd3c52dbc2e0ff8c89efcdd127dd5 | 11 天前 | |
fixStripSection Signed-off-by: tangfei0616 <tangfei44@h-partners.com> | 22 天前 | |
update knowledge_base Signed-off-by: sunfei <sunfei.sun@huawei.com> 🤖 AI[33%] 👌 AI Adopted[33%] 🧑 Human[67%] Change-Id: Ic61e402cc0ebb1cbd92f04bd4f9a892e2d0cebd6 | 1 个月前 | |
update OpenHarmony 2.0 Canary | 5 年前 | |
Theme.csv和Resource冗余代码清理 Signed-off-by: yuanlin94 <linyuan25@h-partners.com> | 22 天前 | |
回退 'Pull Request !29318 : 测试用,请勿合入' | 2 年前 | |
ets to arkts Signed-off-by: luoying_ace_admin <luoying19@huawei.com> Change-Id: Ia345753f0056d525408d54b34d10928d8eb5cbd4 | 3 年前 | |
fixStripSection Signed-off-by: tangfei0616 <tangfei44@h-partners.com> | 5 天前 | |
!87452 merge dev0722BarTdd into master AppBar补充TDD用例 Created-by: haiwenxiang Commit-by: haiwenxiang Merged-by: openharmony_ci Description: **IssueNo**: #79592 **Description**: AppBar补充TDD用例 **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87452 Change-Id: If273bc7c9a58ae1532e7ea244622b636ccf43b33 | 9 天前 | |
fix node_path being overridden in gn Signed-off-by: Pavel Mironchik <pavel.mironchik@huawei.com> Change-Id: Id44d329ffb952b8a92ae74a5a43fec76a49ea0ba | 3 个月前 | |
移除废弃代码 🤖 AI[100%] 👌 AI Adopted[100%] 🧑 Human[0%] Co-authored-by: codex (gpt-5.5) <ai@local> Change-Id: I0b921364d884d4477598ea321cafbb6348b593e4 Signed-off-by: linzuoquan <linzuoquan1@huawei.com> | 1 个月前 | |
udpate component module design doc Signed-off-by: sunfei <sunfei.sun@huawei.com> 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: I125634702914596cab94cae6882e86cb6d3d1e67 | 1 个月前 |
ArkUI开发框架
简介
ArkUI框架是OpenHarmony UI开发框架,提供开发者进行应用UI开发时所必需的能力,包括UI组件、动画、绘制、交互事件、JS API扩展机制等。ArkUI框架提供了两种开发范式,分别是基于ArkTS的声明式开发范式(简称“声明式开发范式”)和兼容JS的类Web开发范式(简称“类Web开发范式”)。
从上图可以看出,类Web开发范式与声明式开发范式的UI后端引擎和语言运行时是共用的,其中,UI后端引擎实现了ArkUI框架的六种基本能力。声明式开发范式无需JS Framework进行页面DOM管理,渲染更新链路更为精简,占用内存更少,因此更推荐开发者选用声明式开发范式来搭建应用UI界面。
目录
ArkUI开发框架源代码在/foundation/arkui/ace_engine下,目录结构如下图所示:
/foundation/arkui/ace_engine
├── adapter # 平台适配目录
│ ├── common
│ └── ohos
├── frameworks # 框架代码
│ ├── base # 基础库
│ ├── bridge # 前后端组件对接层
│ └── core # 核心组件目录
使用场景
ArkUI框架提供了丰富的、功能强大的UI组件、样式定义,组件之间相互独立,随取随用,也可以在需求相同的地方重复使用。开发者还可以通过组件间合理的搭配定义满足业务需求的新组件,减少开发量。
相关仓
arkui_ace_engine
项目介绍
The OpenHarmony JS UI framework provides basic, container, and canvas UI components and standard CSS animation capabilities. It supports the web-development-like programming paradigm.
定制我的领域