Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
f13e2009
D
Docs
项目概览
OpenHarmony
/
Docs
接近 2 年 前同步成功
通知
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看板
提交
f13e2009
编写于
5月 30, 2023
作者:
H
HelloCrease
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update docs
Signed-off-by:
N
HelloCrease
<
lian15@huawei.com
>
上级
7e16e8ef
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
72 addition
and
72 deletion
+72
-72
zh-cn/application-dev/reference/apis/Readme-CN.md
zh-cn/application-dev/reference/apis/Readme-CN.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-font.md
zh-cn/application-dev/reference/apis/js-apis-font.md
+8
-8
zh-cn/application-dev/reference/arkui-js/Readme-CN.md
zh-cn/application-dev/reference/arkui-js/Readme-CN.md
+1
-1
zh-cn/application-dev/reference/arkui-ts/Readme-CN.md
zh-cn/application-dev/reference/arkui-ts/Readme-CN.md
+6
-6
zh-cn/application-dev/ui/Readme-CN.md
zh-cn/application-dev/ui/Readme-CN.md
+22
-22
zh-cn/application-dev/ui/arkts-event-overview.md
zh-cn/application-dev/ui/arkts-event-overview.md
+1
-1
zh-cn/application-dev/ui/ui-js-components-search.md
zh-cn/application-dev/ui/ui-js-components-search.md
+1
-1
zh-cn/application-dev/website.md
zh-cn/application-dev/website.md
+31
-31
未找到文件。
zh-cn/application-dev/reference/apis/Readme-CN.md
浏览文件 @
f13e2009
...
...
@@ -165,10 +165,10 @@
-
UI界面
-
[
@ohos.animator (动画)
](
js-apis-animator.md
)
-
[
@ohos.curves (插值计算)
](
js-apis-curve.md
)
-
[
@ohos.font(注册自定义字体)
](
js-apis-font.md
)
-
[
@ohos.font
(注册自定义字体)
](
js-apis-font.md
)
-
[
@ohos.matrix4 (矩阵变换)
](
js-apis-matrix4.md
)
-
[
@ohos.mediaquery (媒体查询)
](
js-apis-mediaquery.md
)
-
[
@ohos.pluginComponent(PluginComponentManager)
](
js-apis-plugincomponent.md
)
-
[
@ohos.pluginComponent
(PluginComponentManager)
](
js-apis-plugincomponent.md
)
-
[
@ohos.promptAction (弹窗)
](
js-apis-promptAction.md
)
-
[
@ohos.router (页面路由)
](
js-apis-router.md
)
-
[
@ohos.measure (文本计算)
](
js-apis-measure.md
)
...
...
zh-cn/application-dev/reference/apis/js-apis-font.md
浏览文件 @
f13e2009
# @ohos.font
(注册自定义字体)
# @ohos.font
(注册自定义字体)
本模块提供注册自定义字体。
...
...
@@ -22,16 +22,16 @@ registerFont(options: FontOptions): void
**参数:**
| 参数名
| 类型 | 必填 | 说明
|
| ------- | --------------------------- | ---- | -----------
-----------
|
| options |
[
FontOptions
](
#fontoptions
)
| 是 | 注册的自定义字体信息。 |
| 参数名
| 类型 | 必填 | 说明
|
| ------- | --------------------------- | ---- | ----------- |
| options |
[
FontOptions
](
#fontoptions
)
| 是
| 注册的自定义字体信息。 |
## FontOptions
| 名称
| 类型 | 必填 | 说明
|
| ---------- | ------ | ---- | ------------
------------
|
| familyName | string | 是
| 设置注册的字体名称。
|
| familySrc | string | 是 | 设置注册字体文件的路径。 |
| 名称
| 类型 | 必填 | 说明
|
| ---------- | ------ | ---- | ------------ |
| familyName | string | 是
| 设置注册的字体名称。
|
| familySrc | string | 是
| 设置注册字体文件的路径。 |
## 示例
...
...
zh-cn/application-dev/reference/arkui-js/Readme-CN.md
浏览文件 @
f13e2009
...
...
@@ -93,7 +93,7 @@
-
[
animateMotion
](
js-components-svg-animatemotion.md
)
-
[
animateTransform
](
js-components-svg-animatetransform.md
)
-
自定义组件
-
[
基本用法
](
js-components-custom-basic-usage.md
)
-
[
自定义组件的
基本用法
](
js-components-custom-basic-usage.md
)
-
[
数据传递与处理
](
js-components-custom-props.md
)
-
[
继承样式
](
js-components-custom-style.md
)
-
[
slot插槽
](
js-components-custom-slot.md
)
...
...
zh-cn/application-dev/reference/arkui-ts/Readme-CN.md
浏览文件 @
f13e2009
...
...
@@ -40,7 +40,7 @@
-
[
触摸热区设置
](
ts-universal-attributes-touch-target.md
)
-
[
多态样式
](
ts-universal-attributes-polymorphic-style.md
)
-
[
触摸测试控制
](
ts-universal-attributes-hit-test-behavior.md
)
-
[
背景模糊设置
](
ts-universal-attributes-backgroundBlurStyle.md
)
-
[
组件背景模糊
](
ts-universal-attributes-backgroundBlurStyle.md
)
-
[
分布式迁移标识
](
ts-universal-attributes-restoreId.md
)
-
手势处理
-
[
绑定手势方法
](
ts-gesture-settings.md
)
...
...
@@ -61,7 +61,7 @@
-
[
DataPanel
](
ts-basic-components-datapanel.md
)
-
[
DatePicker
](
ts-basic-components-datepicker.md
)
-
[
Divider
](
ts-basic-components-divider.md
)
-
[
Form
c
omponent
](
ts-basic-components-formcomponent.md
)
-
[
Form
C
omponent
](
ts-basic-components-formcomponent.md
)
-
[
Gauge
](
ts-basic-components-gauge.md
)
-
[
Image
](
ts-basic-components-image.md
)
-
[
ImageAnimator
](
ts-basic-components-imageanimator.md
)
...
...
@@ -158,14 +158,14 @@
-
[
警告弹窗
](
ts-methods-alert-dialog-box.md
)
-
[
列表选择弹窗
](
ts-methods-action-sheet.md
)
-
[
自定义弹窗
](
ts-methods-custom-dialog-box.md
)
-
[
日期
选择
弹窗
](
ts-methods-datepicker-dialog.md
)
-
[
时间
选择
弹窗
](
ts-methods-timepicker-dialog.md
)
-
[
文本
选择
弹窗
](
ts-methods-textpicker-dialog.md
)
-
[
日期
滑动选择器
弹窗
](
ts-methods-datepicker-dialog.md
)
-
[
时间
滑动选择器
弹窗
](
ts-methods-timepicker-dialog.md
)
-
[
文本
滑动选择器
弹窗
](
ts-methods-textpicker-dialog.md
)
-
[
菜单
](
ts-methods-menu.md
)
-
[
自定义组件的生命周期
](
ts-custom-component-lifecycle.md
)
-
[
应用级变量的状态管理
](
ts-state-management.md
)
-
[
像素单位
](
ts-pixel-units.md
)
-
[
枚举说明
](
ts-appendix-enums.md
)
-
[
类型
说明
](
ts-types.md
)
-
[
类型
定义
](
ts-types.md
)
-
已停止维护的组件
-
[
GridContainer
](
ts-container-gridcontainer.md
)
zh-cn/application-dev/ui/Readme-CN.md
浏览文件 @
f13e2009
...
...
@@ -86,33 +86,33 @@
-
[
页面路由
](
ui-js-building-ui-routes.md
)
-
常见组件开发指导
-
容器组件
-
[
L
ist开发指导
](
ui-js-components-list.md
)
-
[
D
ialog开发指导
](
ui-js-components-dialog.md
)
-
[
F
orm开发指导
](
ui-js-components-form.md
)
-
[
S
tepper开发指导
](
ui-js-components-stepper.md
)
-
[
T
abs开发指导
](
ui-js-component-tabs.md
)
-
[
S
wiper开发指导
](
ui-js-components-swiper.md
)
-
[
l
ist开发指导
](
ui-js-components-list.md
)
-
[
d
ialog开发指导
](
ui-js-components-dialog.md
)
-
[
f
orm开发指导
](
ui-js-components-form.md
)
-
[
s
tepper开发指导
](
ui-js-components-stepper.md
)
-
[
t
abs开发指导
](
ui-js-component-tabs.md
)
-
[
s
wiper开发指导
](
ui-js-components-swiper.md
)
-
基础组件
-
[
T
ext开发指导
](
ui-js-components-text.md
)
-
[
I
nput开发指导
](
ui-js-components-input.md
)
-
[
B
utton开发指导
](
ui-js-components-button.md
)
-
[
P
icker开发指导
](
ui-js-components-picker.md
)
-
[
I
mage开发指导
](
ui-js-components-images.md
)
-
[
I
mage-animator开发指导
](
ui-js-components-image-animator.md
)
-
[
R
ating开发指导
](
ui-js-components-rating.md
)
-
[
S
lider开发指导
](
ui-js-components-slider.md
)
-
[
C
hart开发指导
](
ui-js-components-chart.md
)
-
[
S
witch开发指导
](
ui-js-components-switch.md
)
-
[
T
oolbar开发指导
](
ui-js-components-toolbar.md
)
-
[
M
enu开发指导
](
ui-js-components-menu.md
)
-
[
M
arquee开发指导
](
ui-js-components-marquee.md
)
-
[
Q
rcode开发指导
](
ui-js-components-qrcode.md
)
-
[
S
earch开发指导
](
ui-js-components-search.md
)
-
[
t
ext开发指导
](
ui-js-components-text.md
)
-
[
i
nput开发指导
](
ui-js-components-input.md
)
-
[
b
utton开发指导
](
ui-js-components-button.md
)
-
[
p
icker开发指导
](
ui-js-components-picker.md
)
-
[
i
mage开发指导
](
ui-js-components-images.md
)
-
[
i
mage-animator开发指导
](
ui-js-components-image-animator.md
)
-
[
r
ating开发指导
](
ui-js-components-rating.md
)
-
[
s
lider开发指导
](
ui-js-components-slider.md
)
-
[
c
hart开发指导
](
ui-js-components-chart.md
)
-
[
s
witch开发指导
](
ui-js-components-switch.md
)
-
[
t
oolbar开发指导
](
ui-js-components-toolbar.md
)
-
[
m
enu开发指导
](
ui-js-components-menu.md
)
-
[
m
arquee开发指导
](
ui-js-components-marquee.md
)
-
[
q
rcode开发指导
](
ui-js-components-qrcode.md
)
-
[
s
earch开发指导
](
ui-js-components-search.md
)
-
Canvas开发指导
-
[
Canvas对象
](
ui-js-components-canvas.md
)
-
[
CanvasRenderingContext2D对象
](
ui-js-components-canvasrenderingcontext2d.md
)
-
[
Path2D对象
](
ui-js-components-path2d.md
)
-
[
OffscreenCanvas对象
](
ui-js-components-offscreencanvas.md
)
-
[
OffscreenCanvas
RenderingContext2D
对象
](
ui-js-components-offscreencanvas.md
)
-
[
栅格布局
](
ui-js-components-grid.md
)
-
Svg开发指导
-
[
基础知识
](
ui-js-components-svg-overview.md
)
...
...
zh-cn/application-dev/ui/arkts-event-overview.md
浏览文件 @
f13e2009
# 概述
#
交互事件
概述
交互事件按照触发类型来分类,包括触屏事件、键鼠事件和焦点事件。
...
...
zh-cn/application-dev/ui/ui-js-components-search.md
浏览文件 @
f13e2009
# search
# search
开发指导
提供搜索框组件,用于提供用户搜索内容的输入区域,具体用法请参考
[
search
](
../reference/arkui-js/js-components-basic-search.md
)
。
...
...
zh-cn/application-dev/website.md
浏览文件 @
f13e2009
...
...
@@ -322,33 +322,33 @@
-
[
页面路由
](
ui/ui-js-building-ui-routes.md
)
-
常见组件开发指导
-
容器组件
-
[
L
ist开发指导
](
ui/ui-js-components-list.md
)
-
[
D
ialog开发指导
](
ui/ui-js-components-dialog.md
)
-
[
F
orm开发指导
](
ui/ui-js-components-form.md
)
-
[
S
tepper开发指导
](
ui/ui-js-components-stepper.md
)
-
[
T
abs开发指导
](
ui/ui-js-component-tabs.md
)
-
[
S
wiper开发指导
](
ui/ui-js-components-swiper.md
)
-
[
l
ist开发指导
](
ui/ui-js-components-list.md
)
-
[
d
ialog开发指导
](
ui/ui-js-components-dialog.md
)
-
[
f
orm开发指导
](
ui/ui-js-components-form.md
)
-
[
s
tepper开发指导
](
ui/ui-js-components-stepper.md
)
-
[
t
abs开发指导
](
ui/ui-js-component-tabs.md
)
-
[
s
wiper开发指导
](
ui/ui-js-components-swiper.md
)
-
基础组件
-
[
T
ext开发指导
](
ui/ui-js-components-text.md
)
-
[
I
nput开发指导
](
ui/ui-js-components-input.md
)
-
[
B
utton开发指导
](
ui/ui-js-components-button.md
)
-
[
P
icker开发指导
](
ui/ui-js-components-picker.md
)
-
[
I
mage开发指导
](
ui/ui-js-components-images.md
)
-
[
I
mage-animator开发指导
](
ui/ui-js-components-image-animator.md
)
-
[
R
ating开发指导
](
ui/ui-js-components-rating.md
)
-
[
S
lider开发指导
](
ui/ui-js-components-slider.md
)
-
[
C
hart开发指导
](
ui/ui-js-components-chart.md
)
-
[
S
witch开发指导
](
ui/ui-js-components-switch.md
)
-
[
T
oolbar开发指导
](
ui/ui-js-components-toolbar.md
)
-
[
M
enu开发指导
](
ui/ui-js-components-menu.md
)
-
[
M
arquee开发指导
](
ui/ui-js-components-marquee.md
)
-
[
Q
rcode开发指导
](
ui/ui-js-components-qrcode.md
)
-
[
S
earch开发指导
](
ui/ui-js-components-search.md
)
-
[
t
ext开发指导
](
ui/ui-js-components-text.md
)
-
[
i
nput开发指导
](
ui/ui-js-components-input.md
)
-
[
b
utton开发指导
](
ui/ui-js-components-button.md
)
-
[
p
icker开发指导
](
ui/ui-js-components-picker.md
)
-
[
i
mage开发指导
](
ui/ui-js-components-images.md
)
-
[
i
mage-animator开发指导
](
ui/ui-js-components-image-animator.md
)
-
[
r
ating开发指导
](
ui/ui-js-components-rating.md
)
-
[
s
lider开发指导
](
ui/ui-js-components-slider.md
)
-
[
c
hart开发指导
](
ui/ui-js-components-chart.md
)
-
[
s
witch开发指导
](
ui/ui-js-components-switch.md
)
-
[
t
oolbar开发指导
](
ui/ui-js-components-toolbar.md
)
-
[
m
enu开发指导
](
ui/ui-js-components-menu.md
)
-
[
m
arquee开发指导
](
ui/ui-js-components-marquee.md
)
-
[
q
rcode开发指导
](
ui/ui-js-components-qrcode.md
)
-
[
s
earch开发指导
](
ui/ui-js-components-search.md
)
-
Canvas开发指导
-
[
Canvas对象
](
ui/ui-js-components-canvas.md
)
-
[
CanvasRenderingContext2D对象
](
ui/ui-js-components-canvasrenderingcontext2d.md
)
-
[
Path2D对象
](
ui/ui-js-components-path2d.md
)
-
[
OffscreenCanvas对象
](
ui/ui-js-components-offscreencanvas.md
)
-
[
OffscreenCanvas
RenderingContext2D
对象
](
ui/ui-js-components-offscreencanvas.md
)
-
[
栅格布局
](
ui/ui-js-components-grid.md
)
-
Svg开发指导
-
[
基础知识
](
ui/ui-js-components-svg-overview.md
)
...
...
@@ -704,7 +704,7 @@
-
[
触摸热区设置
](
reference/arkui-ts/ts-universal-attributes-touch-target.md
)
-
[
多态样式
](
reference/arkui-ts/ts-universal-attributes-polymorphic-style.md
)
-
[
触摸测试控制
](
reference/arkui-ts/ts-universal-attributes-hit-test-behavior.md
)
-
[
背景模糊设置
](
reference/arkui-ts/ts-universal-attributes-backgroundBlurStyle.md
)
-
[
组件背景模糊
](
reference/arkui-ts/ts-universal-attributes-backgroundBlurStyle.md
)
-
[
分布式迁移标识
](
reference/arkui-ts/ts-universal-attributes-restoreId.md
)
-
手势处理
-
[
绑定手势方法
](
reference/arkui-ts/ts-gesture-settings.md
)
...
...
@@ -725,7 +725,7 @@
-
[
DataPanel
](
reference/arkui-ts/ts-basic-components-datapanel.md
)
-
[
DatePicker
](
reference/arkui-ts/ts-basic-components-datepicker.md
)
-
[
Divider
](
reference/arkui-ts/ts-basic-components-divider.md
)
-
[
Form
c
omponent
](
reference/arkui-ts/ts-basic-components-formcomponent.md
)
-
[
Form
C
omponent
](
reference/arkui-ts/ts-basic-components-formcomponent.md
)
-
[
Gauge
](
reference/arkui-ts/ts-basic-components-gauge.md
)
-
[
Image
](
reference/arkui-ts/ts-basic-components-image.md
)
-
[
ImageAnimator
](
reference/arkui-ts/ts-basic-components-imageanimator.md
)
...
...
@@ -822,15 +822,15 @@
-
[
警告弹窗
](
reference/arkui-ts/ts-methods-alert-dialog-box.md
)
-
[
列表选择弹窗
](
reference/arkui-ts/ts-methods-action-sheet.md
)
-
[
自定义弹窗
](
reference/arkui-ts/ts-methods-custom-dialog-box.md
)
-
[
日期
选择
弹窗
](
reference/arkui-ts/ts-methods-datepicker-dialog.md
)
-
[
时间
选择
弹窗
](
reference/arkui-ts/ts-methods-timepicker-dialog.md
)
-
[
文本
选择
弹窗
](
reference/arkui-ts/ts-methods-textpicker-dialog.md
)
-
[
日期
滑动选择器
弹窗
](
reference/arkui-ts/ts-methods-datepicker-dialog.md
)
-
[
时间
滑动选择器
弹窗
](
reference/arkui-ts/ts-methods-timepicker-dialog.md
)
-
[
文本
滑动选择器
弹窗
](
reference/arkui-ts/ts-methods-textpicker-dialog.md
)
-
[
菜单
](
reference/arkui-ts/ts-methods-menu.md
)
-
[
自定义组件的生命周期
](
reference/arkui-ts/ts-custom-component-lifecycle.md
)
-
[
应用级变量的状态管理
](
reference/arkui-ts/ts-state-management.md
)
-
[
像素单位
](
reference/arkui-ts/ts-pixel-units.md
)
-
[
枚举说明
](
reference/arkui-ts/ts-appendix-enums.md
)
-
[
类型
说明
](
reference/arkui-ts/ts-types.md
)
-
[
类型
定义
](
reference/arkui-ts/ts-types.md
)
-
已停止维护的组件
-
[
GridContainer
](
reference/arkui-ts/ts-container-gridcontainer.md
)
-
组件参考(兼容JS的类Web开发范式-ArkUI.Full)
...
...
@@ -927,7 +927,7 @@
-
[
animateMotion
](
reference/arkui-js/js-components-svg-animatemotion.md
)
-
[
animateTransform
](
reference/arkui-js/js-components-svg-animatetransform.md
)
-
自定义组件
-
[
基本用法
](
reference/arkui-js/js-components-custom-basic-usage.md
)
-
[
自定义组件的
基本用法
](
reference/arkui-js/js-components-custom-basic-usage.md
)
-
[
数据传递与处理
](
reference/arkui-js/js-components-custom-props.md
)
-
[
继承样式
](
reference/arkui-js/js-components-custom-style.md
)
-
[
slot插槽
](
reference/arkui-js/js-components-custom-slot.md
)
...
...
@@ -1170,10 +1170,10 @@
-
UI界面
-
[
@ohos.animator (动画)
](
reference/apis/js-apis-animator.md
)
-
[
@ohos.curves (插值计算)
](
reference/apis/js-apis-curve.md
)
-
[
@ohos.font(注册自定义字体)
](
reference/apis/js-apis-font.md
)
-
[
@ohos.font
(注册自定义字体)
](
reference/apis/js-apis-font.md
)
-
[
@ohos.matrix4 (矩阵变换)
](
reference/apis/js-apis-matrix4.md
)
-
[
@ohos.mediaquery (媒体查询)
](
reference/apis/js-apis-mediaquery.md
)
-
[
@ohos.pluginComponent(PluginComponentManager)
](
reference/apis/js-apis-plugincomponent.md
)
-
[
@ohos.pluginComponent
(PluginComponentManager)
](
reference/apis/js-apis-plugincomponent.md
)
-
[
@ohos.promptAction (弹窗)
](
reference/apis/js-apis-promptAction.md
)
-
[
@ohos.router (页面路由)
](
reference/apis/js-apis-router.md
)
-
[
@ohos.measure (文本计算)
](
reference/apis/js-apis-measure.md
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录