提交 b5da83d4 编写于 作者: E ester.zhou

Update docs (12460)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 5f3d1533
......@@ -11,8 +11,8 @@ The custom font can be loaded from the font file in a project. The font file mus
```
@font-face {
font-family: HWfont;
src: url('/common/HWfont.ttf');
font-family: font;
src: url('/common/font.ttf');
}
```
......@@ -48,10 +48,10 @@ Page style:
```css
/*xxx.css*/
@font-face {
font-family: HWfont;
src: url("/common/HWfont.ttf");
font-family: font;
src: url("/common/font.ttf");
}
.demo-text {
font-family: HWfont;
font-family: font;
}
```
......@@ -76,7 +76,7 @@ Stops an animation.
**Parameters**
| Name | Type | Mandatory.| Description|
| Name | Type | Mandatory | Description|
| --------- | ---------- | ------ | -------- |
| callback | () => void | No | Callback invoked when the animation stops.|
......@@ -88,6 +88,10 @@ onChange(event: (index: number) => void)
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**
| Name | Type | Description|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册