Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
78231491
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
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看板
未验证
提交
78231491
编写于
7月 28, 2022
作者:
O
openharmony_ci
提交者:
Gitee
7月 28, 2022
浏览文件
操作
浏览文件
下载
差异文件
!7262 挑单3.2beta2:修改组件示例代码效果与文档不符
Merge pull request !7262 from xiexiyun/cherry-pick-1658974791
上级
b5465f91
f9cc3ac3
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
6 addition
and
6 deletion
+6
-6
zh-cn/application-dev/reference/arkui-ts/figures/zh-cn_image_0000001250678457.gif
...ference/arkui-ts/figures/zh-cn_image_0000001250678457.gif
+0
-0
zh-cn/application-dev/reference/arkui-ts/ts-basic-components-richtext.md
...on-dev/reference/arkui-ts/ts-basic-components-richtext.md
+1
-1
zh-cn/application-dev/reference/arkui-ts/ts-basic-components-xcomponent.md
...-dev/reference/arkui-ts/ts-basic-components-xcomponent.md
+3
-3
zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md
...n-dev/reference/arkui-ts/ts-universal-attributes-popup.md
+1
-1
zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-z-order.md
...dev/reference/arkui-ts/ts-universal-attributes-z-order.md
+1
-1
未找到文件。
zh-cn/application-dev/reference/arkui-ts/figures/zh-cn_image_0000001250678457.gif
查看替换文件 @
b5465f91
浏览文件 @
78231491
1.6 MB
|
W:
|
H:
113.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
zh-cn/application-dev/reference/arkui-ts/ts-basic-components-richtext.md
浏览文件 @
78231491
...
@@ -48,7 +48,7 @@ RichText\(content:string\)
...
@@ -48,7 +48,7 @@ RichText\(content:string\)
|
\<
script>
\<
/script> | 用于定义客户端文本,比如JavaScript。 |
\<
script>document.write("Hello World!")
\<
/script> |
|
\<
script>
\<
/script> | 用于定义客户端文本,比如JavaScript。 |
\<
script>document.write("Hello World!")
\<
/script> |
## 示例
## 示例
示例效果请以真机运行为准,当前IDE预览器不支持。
```
ts
```
ts
// xxx.ets
// xxx.ets
@
Entry
@
Entry
...
...
zh-cn/application-dev/reference/arkui-ts/ts-basic-components-xcomponent.md
浏览文件 @
78231491
# XComponent
# XComponent
> **说明:**
> **说明:**
> 该组件从API Version 8 开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。
> 该组件从API Version 8 开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。
可用于EGL/OpenGLES和媒体数据写入,并显示在XComponent组件。
可用于EGL/OpenGLES和媒体数据写入,并显示在XComponent组件。
...
@@ -83,8 +83,8 @@ getXComponentContext(): Object
...
@@ -83,8 +83,8 @@ getXComponentContext(): Object
## 示例
## 示例
提供surface类型XComponent,支持相机预览等能力。
提供surface类型XComponent,支持相机预览等能力。
示例效果请以真机运行为准,当前IDE预览器不支持。
```
ts
```
ts
// xxx.ets
// xxx.ets
import
camera
from
'
@ohos.multimedia.camera
'
;
import
camera
from
'
@ohos.multimedia.camera
'
;
...
...
zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md
浏览文件 @
78231491
...
@@ -70,7 +70,7 @@ struct PopupExample {
...
@@ -70,7 +70,7 @@ struct PopupExample {
@
Builder
popupBuilder
()
{
@
Builder
popupBuilder
()
{
Row
({
space
:
2
})
{
Row
({
space
:
2
})
{
Image
(
'
/resource/ic_public_thumbsup.svg
'
).
width
(
24
).
height
(
24
).
margin
({
left
:
-
5
})
Image
(
'
/resource/ic_public_thumbsup.svg
'
).
width
(
24
).
height
(
24
).
margin
({
left
:
-
5
})
Text
(
'
Custom Popup
'
).
fontSize
(
1
2
)
Text
(
'
Custom Popup
'
).
fontSize
(
1
0
)
}.
width
(
100
).
height
(
50
).
backgroundColor
(
Color
.
White
)
}.
width
(
100
).
height
(
50
).
backgroundColor
(
Color
.
White
)
}
}
...
...
zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-z-order.md
浏览文件 @
78231491
...
@@ -39,7 +39,7 @@ struct ZIndexExample {
...
@@ -39,7 +39,7 @@ struct ZIndexExample {
Text
(
'
third child, zIndex(1)
'
)
Text
(
'
third child, zIndex(1)
'
)
.
size
({
width
:
'
70%
'
,
height
:
'
50%
'
}).
backgroundColor
(
0xc1cbac
).
align
(
Alignment
.
TopStart
)
.
size
({
width
:
'
70%
'
,
height
:
'
50%
'
}).
backgroundColor
(
0xc1cbac
).
align
(
Alignment
.
TopStart
)
.
zIndex
(
1
)
.
zIndex
(
1
)
}
}
.
width
(
'
100%
'
).
height
(
200
)
}.
width
(
'
100%
'
).
height
(
200
)
}.
width
(
'
100%
'
).
height
(
200
)
}
}
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录