Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lfmiao0
Docs
提交
db4ed300
D
Docs
项目概览
lfmiao0
/
Docs
与 Fork 源项目一致
Fork自
OpenHarmony / Docs
通知
1
Star
0
Fork
0
代码
文件
提交
分支
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
db4ed300
编写于
2月 03, 2023
作者:
E
ester.zhou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update docs (13865)
Signed-off-by:
N
ester.zhou
<
ester.zhou@huawei.com
>
上级
84040aa6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
21 deletion
+22
-21
en/application-dev/reference/apis/js-apis-animator.md
en/application-dev/reference/apis/js-apis-animator.md
+1
-1
en/application-dev/reference/apis/js-apis-promptAction.md
en/application-dev/reference/apis/js-apis-promptAction.md
+14
-14
en/application-dev/reference/apis/js-apis-router.md
en/application-dev/reference/apis/js-apis-router.md
+1
-0
en/application-dev/reference/apis/js-apis-system-prompt.md
en/application-dev/reference/apis/js-apis-system-prompt.md
+6
-6
未找到文件。
en/application-dev/reference/apis/js-apis-animator.md
浏览文件 @
db4ed300
...
@@ -72,7 +72,7 @@ For details about the error codes, see [Animator Error Codes](../errorcodes/erro
...
@@ -72,7 +72,7 @@ For details about the error codes, see [Animator Error Codes](../errorcodes/erro
| ID | Error Message|
| ID | Error Message|
| --------- | ------- |
| --------- | ------- |
| 100001 |
I
f no page is found for pageId or fail to get object property list. |
| 100001 |
i
f no page is found for pageId or fail to get object property list. |
**Example**
**Example**
...
...
en/application-dev/reference/apis/js-apis-promptAction.md
浏览文件 @
db4ed300
...
@@ -32,7 +32,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
...
@@ -32,7 +32,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
| ID | Error Message|
| ID | Error Message|
| --------- | ------- |
| --------- | ------- |
| 100001 |
I
f UI execution context not found. |
| 100001 |
i
f UI execution context not found. |
**Example**
**Example**
...
@@ -40,7 +40,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
...
@@ -40,7 +40,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
try
{
try
{
promptAction
.
showToast
({
promptAction
.
showToast
({
message
:
'
Message Info
'
,
message
:
'
Message Info
'
,
duration
:
2000
,
duration
:
2000
});
});
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
`showToast args error code is
${
error
.
code
}
, message is
${
error
.
message
}
`
);
console
.
error
(
`showToast args error code is
${
error
.
code
}
, message is
${
error
.
message
}
`
);
...
@@ -88,7 +88,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
...
@@ -88,7 +88,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
| ID | Error Message|
| ID | Error Message|
| --------- | ------- |
| --------- | ------- |
| 100001 |
I
f UI execution context not found. |
| 100001 |
i
f UI execution context not found. |
**Example**
**Example**
...
@@ -100,11 +100,11 @@ try {
...
@@ -100,11 +100,11 @@ try {
buttons
:
[
buttons
:
[
{
{
text
:
'
button1
'
,
text
:
'
button1
'
,
color
:
'
#000000
'
,
color
:
'
#000000
'
},
},
{
{
text
:
'
button2
'
,
text
:
'
button2
'
,
color
:
'
#000000
'
,
color
:
'
#000000
'
}
}
],
],
})
})
...
@@ -142,7 +142,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
...
@@ -142,7 +142,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
| ID | Error Message|
| ID | Error Message|
| --------- | ------- |
| --------- | ------- |
| 100001 |
I
f UI execution context not found. |
| 100001 |
i
f UI execution context not found. |
**Example**
**Example**
...
@@ -154,11 +154,11 @@ try {
...
@@ -154,11 +154,11 @@ try {
buttons
:
[
buttons
:
[
{
{
text
:
'
button1
'
,
text
:
'
button1
'
,
color
:
'
#000000
'
,
color
:
'
#000000
'
},
},
{
{
text
:
'
button2
'
,
text
:
'
button2
'
,
color
:
'
#000000
'
,
color
:
'
#000000
'
}
}
]
]
},
(
err
,
data
)
=>
{
},
(
err
,
data
)
=>
{
...
@@ -218,7 +218,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
...
@@ -218,7 +218,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
| ID | Error Message|
| ID | Error Message|
| --------- | ------- |
| --------- | ------- |
| 100001 |
I
f UI execution context not found. |
| 100001 |
i
f UI execution context not found. |
**Example**
**Example**
...
@@ -229,11 +229,11 @@ try {
...
@@ -229,11 +229,11 @@ try {
buttons
:
[
buttons
:
[
{
{
text
:
'
item1
'
,
text
:
'
item1
'
,
color
:
'
#666666
'
,
color
:
'
#666666
'
},
},
{
{
text
:
'
item2
'
,
text
:
'
item2
'
,
color
:
'
#000000
'
,
color
:
'
#000000
'
},
},
]
]
},
(
err
,
data
)
=>
{
},
(
err
,
data
)
=>
{
...
@@ -276,7 +276,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
...
@@ -276,7 +276,7 @@ For details about the error codes, see [promptAction Error Codes](../errorcodes/
| ID | Error Message|
| ID | Error Message|
| --------- | ------- |
| --------- | ------- |
| 100001 |
I
f UI execution context not found. |
| 100001 |
i
f UI execution context not found. |
**Example**
**Example**
...
@@ -287,11 +287,11 @@ try {
...
@@ -287,11 +287,11 @@ try {
buttons
:
[
buttons
:
[
{
{
text
:
'
item1
'
,
text
:
'
item1
'
,
color
:
'
#666666
'
,
color
:
'
#666666
'
},
},
{
{
text
:
'
item2
'
,
text
:
'
item2
'
,
color
:
'
#000000
'
,
color
:
'
#000000
'
},
},
]
]
})
})
...
...
en/application-dev/reference/apis/js-apis-router.md
浏览文件 @
db4ed300
...
@@ -563,6 +563,7 @@ Describes the page routing options.
...
@@ -563,6 +563,7 @@ Describes the page routing options.
> **NOTE**
> **NOTE**
>
> The page routing stack supports a maximum of 32 pages.
> The page routing stack supports a maximum of 32 pages.
## RouterMode<sup>9+</sup>
## RouterMode<sup>9+</sup>
...
...
en/application-dev/reference/apis/js-apis-system-prompt.md
浏览文件 @
db4ed300
...
@@ -38,7 +38,7 @@ export default {
...
@@ -38,7 +38,7 @@ export default {
showToast
()
{
showToast
()
{
prompt
.
showToast
({
prompt
.
showToast
({
message
:
'
Message Info
'
,
message
:
'
Message Info
'
,
duration
:
2000
,
duration
:
2000
});
});
}
}
}
}
...
@@ -67,11 +67,11 @@ export default {
...
@@ -67,11 +67,11 @@ export default {
showDialog
()
{
showDialog
()
{
prompt
.
showDialog
({
prompt
.
showDialog
({
title
:
'
Title Info
'
,
title
:
'
Title Info
'
,
message
:
'
Message Info
'
,
message
:
'
Message Info
'
,
buttons
:
[
buttons
:
[
{
{
text
:
'
button
'
,
text
:
'
button
'
,
color
:
'
#666666
'
,
color
:
'
#666666
'
},
},
],
],
success
:
function
(
data
)
{
success
:
function
(
data
)
{
...
@@ -110,12 +110,12 @@ export default {
...
@@ -110,12 +110,12 @@ export default {
buttons
:
[
buttons
:
[
{
{
text
:
'
item1
'
,
text
:
'
item1
'
,
color
:
'
#666666
'
,
color
:
'
#666666
'
},
},
{
{
text
:
'
item2
'
,
text
:
'
item2
'
,
color
:
'
#000000
'
,
color
:
'
#000000
'
},
},
],
],
success
:
function
(
tapIndex
)
{
success
:
function
(
tapIndex
)
{
console
.
log
(
'
dialog success callback, click button :
'
+
data
.
tapIndex
);
console
.
log
(
'
dialog success callback, click button :
'
+
data
.
tapIndex
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录