未验证 提交 35e7a42a 编写于 作者: O openharmony_ci 提交者: Gitee

!13363 翻译完成 12460

Merge pull request !13363 from ester.zhou/TR-12460
...@@ -11,8 +11,8 @@ The custom font can be loaded from the font file in a project. The font file mus ...@@ -11,8 +11,8 @@ The custom font can be loaded from the font file in a project. The font file mus
``` ```
@font-face { @font-face {
font-family: HWfont; font-family: font;
src: url('/common/HWfont.ttf'); src: url('/common/font.ttf');
} }
``` ```
...@@ -48,10 +48,10 @@ Page style: ...@@ -48,10 +48,10 @@ Page style:
```css ```css
/*xxx.css*/ /*xxx.css*/
@font-face { @font-face {
font-family: HWfont; font-family: font;
src: url("/common/HWfont.ttf"); src: url("/common/font.ttf");
} }
.demo-text { .demo-text {
font-family: HWfont; font-family: font;
} }
``` ```
...@@ -76,7 +76,7 @@ Stops an animation. ...@@ -76,7 +76,7 @@ Stops an animation.
**Parameters** **Parameters**
| Name | Type | Mandatory.| Description| | Name | Type | Mandatory | Description|
| --------- | ---------- | ------ | -------- | | --------- | ---------- | ------ | -------- |
| callback | () => void | No | Callback invoked when the animation stops.| | callback | () => void | No | Callback invoked when the animation stops.|
...@@ -88,6 +88,10 @@ onChange(event: (index: number) => void) ...@@ -88,6 +88,10 @@ onChange(event: (index: number) => void)
Triggered when the index of the currently displayed child component changes. Triggered when the index of the currently displayed child component changes.
> **NOTE**
>
> When the **\<Swiper>** component is used together with **LazyForEach**, the subpage UI cannot be refreshed in the **onChange** event.
**Return value** **Return value**
| Name | Type | Description| | Name | Type | Description|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册