Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
3cfafaf3
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3cfafaf3
编写于
8月 01, 2023
作者:
G
ge-yafang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update sample link
Signed-off-by:
N
ge-yafang
<
geyafang@huawei.com
>
上级
5bd5d098
变更
23
隐藏空白更改
内联
并排
Showing
23 changed file
with
23 addition
and
23 deletion
+23
-23
zh-cn/application-dev/application-dev-guide.md
zh-cn/application-dev/application-dev-guide.md
+1
-1
zh-cn/application-dev/performance/improve-application-startup-and-response/improve-application-cold-start-speed.md
...rtup-and-response/improve-application-cold-start-speed.md
+1
-1
zh-cn/application-dev/performance/improve-application-startup-and-response/improve-application-response.md
...tion-startup-and-response/improve-application-response.md
+1
-1
zh-cn/application-dev/ui/arkts-layout-development-create-grid.md
...pplication-dev/ui/arkts-layout-development-create-grid.md
+1
-1
zh-cn/application-dev/ui/ui-js-animate-background-position-style.md
...ication-dev/ui/ui-js-animate-background-position-style.md
+1
-1
zh-cn/application-dev/ui/ui-js-animate-transform.md
zh-cn/application-dev/ui/ui-js-animate-transform.md
+1
-1
zh-cn/application-dev/ui/ui-js-building-ui-component.md
zh-cn/application-dev/ui/ui-js-building-ui-component.md
+1
-1
zh-cn/application-dev/ui/ui-js-building-ui-routes.md
zh-cn/application-dev/ui/ui-js-building-ui-routes.md
+1
-1
zh-cn/application-dev/ui/ui-js-component-tabs.md
zh-cn/application-dev/ui/ui-js-component-tabs.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-canvas.md
zh-cn/application-dev/ui/ui-js-components-canvas.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-chart.md
zh-cn/application-dev/ui/ui-js-components-chart.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-dialog.md
zh-cn/application-dev/ui/ui-js-components-dialog.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-grid.md
zh-cn/application-dev/ui/ui-js-components-grid.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-list.md
zh-cn/application-dev/ui/ui-js-components-list.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-menu.md
zh-cn/application-dev/ui/ui-js-components-menu.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-picker.md
zh-cn/application-dev/ui/ui-js-components-picker.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-slider.md
zh-cn/application-dev/ui/ui-js-components-slider.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-stepper.md
zh-cn/application-dev/ui/ui-js-components-stepper.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-svg-overview.md
zh-cn/application-dev/ui/ui-js-components-svg-overview.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-swiper.md
zh-cn/application-dev/ui/ui-js-components-swiper.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-text.md
zh-cn/application-dev/ui/ui-js-components-text.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-toolbar.md
zh-cn/application-dev/ui/ui-js-components-toolbar.md
+1
-1
zh-cn/application-dev/ui/ui-js-custom-components.md
zh-cn/application-dev/ui/ui-js-custom-components.md
+1
-1
未找到文件。
zh-cn/application-dev/application-dev-guide.md
浏览文件 @
3cfafaf3
...
...
@@ -32,7 +32,7 @@
-
[
WebGL
](
webgl/webgl-overview.md
)
-
[
媒体
](
media/media-application-overview.md
)
-
[
安全
](
security/userauth-overview.md
)
-
[
AI
](
ai/
mindspore-lite-js-guidelines
.md
)
-
[
AI
](
ai/
ai-overview
.md
)
-
[
网络与连接
](
connectivity/ipc-rpc-overview.md
)
-
[
电话服务
](
telephony/telephony-overview.md
)
-
[
数据管理
](
database/data-mgmt-overview.md
)
...
...
zh-cn/application-dev/performance/improve-application-startup-and-response/improve-application-cold-start-speed.md
浏览文件 @
3cfafaf3
...
...
@@ -57,7 +57,7 @@ OpenHarmony的应用冷启动过程大致可分成以下四个阶段:应用进
在应用启动流程中,系统会执行Ability的生命周期回调函数。因此,不建议在这些回调函数中执行耗时过长的操作,耗时操作建议通过异步任务延迟处理或者放到其他线程执行。
在这些生命周期回调里,推荐开发者只做必要的操作,详情可以参考:
[
UIAbility组件生命周期
](
../application-models/uiability-lifecycle.md
)
在这些生命周期回调里,推荐开发者只做必要的操作,详情可以参考:
[
UIAbility组件生命周期
](
../
../
application-models/uiability-lifecycle.md
)
## 4、缩短加载绘制首页阶段耗时
...
...
zh-cn/application-dev/performance/improve-application-startup-and-response/improve-application-response.md
浏览文件 @
3cfafaf3
...
...
@@ -61,7 +61,7 @@ struct ImageExample1 {
### 使用TaskPool线程池异步处理
OpenHarmony提供了
[
TaskPool线程池
](
../reference/apis/js-apis-taskpool.md
)
,相比worker线程,TaskPool提供了任务优先级设置、线程池自动管理机制,示例如下:
OpenHarmony提供了
[
TaskPool线程池
](
../
../
reference/apis/js-apis-taskpool.md
)
,相比worker线程,TaskPool提供了任务优先级设置、线程池自动管理机制,示例如下:
```
javascript
import
taskpool
from
'
@ohos.taskpool
'
;
...
...
zh-cn/application-dev/ui/arkts-layout-development-create-grid.md
浏览文件 @
3cfafaf3
...
...
@@ -269,7 +269,7 @@ struct Shopping {
![
zh-cn_image_0000001562940549
](
figures/zh-cn_image_0000001562940549.gif
)
Grid组件初始化时,可以绑定一个
[
Scroller
](
../reference/arkui-ts/ts-container-scroll.md#scroller
)
对象,用于进行滚动控制,例如通过Scroller对象的
[
scrollPage
](
../
application-dev/
reference/arkui-ts/ts-container-scroll.md#scrollpage
)
方法进行翻页。
Grid组件初始化时,可以绑定一个
[
Scroller
](
../reference/arkui-ts/ts-container-scroll.md#scroller
)
对象,用于进行滚动控制,例如通过Scroller对象的
[
scrollPage
](
../reference/arkui-ts/ts-container-scroll.md#scrollpage
)
方法进行翻页。
```
ts
...
...
zh-cn/application-dev/ui/ui-js-animate-background-position-style.md
浏览文件 @
3cfafaf3
...
...
@@ -91,4 +91,4 @@
针对background-position样式动画开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentClollection/JsComponentCollection
)
\ No newline at end of file
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
\ No newline at end of file
zh-cn/application-dev/ui/ui-js-animate-transform.md
浏览文件 @
3cfafaf3
...
...
@@ -585,7 +585,7 @@ transform可以设置多个值并且多个值可同时设置,下面案例中
针对transform样式动画开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
-
[
`JsClock`:时钟(JS)(API10)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/Solutions/Tools/JsClock
)
...
...
zh-cn/application-dev/ui/ui-js-building-ui-component.md
浏览文件 @
3cfafaf3
...
...
@@ -25,7 +25,7 @@
针对组件开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
-
[
`MediaCollections`:媒体管理合集(eTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/FileManagement/MediaCollections
)
...
...
zh-cn/application-dev/ui/ui-js-building-ui-routes.md
浏览文件 @
3cfafaf3
...
...
@@ -91,4 +91,4 @@ export default {
针对页面路由开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-component-tabs.md
浏览文件 @
3cfafaf3
...
...
@@ -268,4 +268,4 @@ export default {
针对tabs开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentClollection/JsComponentCollection
)
\ No newline at end of file
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
\ No newline at end of file
zh-cn/application-dev/ui/ui-js-components-canvas.md
浏览文件 @
3cfafaf3
...
...
@@ -146,4 +146,4 @@ export default {
针对Canvas开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-components-chart.md
浏览文件 @
3cfafaf3
...
...
@@ -624,4 +624,4 @@ export default {
针对chart开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-components-dialog.md
浏览文件 @
3cfafaf3
...
...
@@ -324,6 +324,6 @@ export default {
针对dialog开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
-
[
弹窗基本使用(JS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/JSUI/DialogDemo
)
zh-cn/application-dev/ui/ui-js-components-grid.md
浏览文件 @
3cfafaf3
...
...
@@ -250,4 +250,4 @@ export default {
针对Grid开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-components-list.md
浏览文件 @
3cfafaf3
...
...
@@ -314,4 +314,4 @@ export default {
针对list开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentClollection/JsComponentCollection
)
\ No newline at end of file
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
\ No newline at end of file
zh-cn/application-dev/ui/ui-js-components-menu.md
浏览文件 @
3cfafaf3
...
...
@@ -282,4 +282,4 @@ export default {
针对menu开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-components-picker.md
浏览文件 @
3cfafaf3
...
...
@@ -301,4 +301,4 @@ export default {
针对picker开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-components-slider.md
浏览文件 @
3cfafaf3
...
...
@@ -217,6 +217,6 @@ export default{
针对slider开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
-
[
slider组件的使用(JS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/JSUI/SliderApplication
)
\ No newline at end of file
zh-cn/application-dev/ui/ui-js-components-stepper.md
浏览文件 @
3cfafaf3
...
...
@@ -406,4 +406,4 @@ export default {
针对stepper开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-components-svg-overview.md
浏览文件 @
3cfafaf3
...
...
@@ -86,4 +86,4 @@ svg{
针对Svg开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentClollection/JsComponentCollection
)
\ No newline at end of file
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
\ No newline at end of file
zh-cn/application-dev/ui/ui-js-components-swiper.md
浏览文件 @
3cfafaf3
...
...
@@ -370,4 +370,4 @@ export default {
针对swiper开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-components-text.md
浏览文件 @
3cfafaf3
...
...
@@ -276,4 +276,4 @@ export default {
针对text开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-components-toolbar.md
浏览文件 @
3cfafaf3
...
...
@@ -229,4 +229,4 @@ export default {
针对toolbar开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:JS组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
zh-cn/application-dev/ui/ui-js-custom-components.md
浏览文件 @
3cfafaf3
...
...
@@ -103,6 +103,6 @@
针对自定义组件开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentC
l
ollection/JsComponentCollection
)
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/UI/JsComponentCollection/JsComponentCollection
)
-
[
自定义抽奖转盘(JS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/JSUI/JSCanvasComponent
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录