Skip to content

Commit cc71808

Browse files
Mr-Quinimtaotao
authored andcommitted
docs: fix typos
1 parent 04e1292 commit cc71808

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/en/cases/anti-occlusion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This section will teach you how to implement the anti-occlusion feature. Since t
99
> 1. Poll to get the `svg` image that needs to prevent occlusion, usually generated through **AI**, but it also depends on business requirements.
1010
> 2. Call the danmu library's [**`manager.updateOccludedUrl`**](../reference/manager-api/#manager-updateoccludedurl) to set the `CSS` property.
1111
12-
## 示例
12+
## Example
1313

1414
```ts {7,10}
1515
(async function update() {

docs/en/reference/danmaku-hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ manager.use({
100100

101101
## `hooks.beforeDestroy`
102102

103-
**类型:`AsyncHook<[Danmaku<T>, unknown]>`**
103+
**Type: `AsyncHook<[Danmaku<T>, unknown]>`**
104104

105105
The `beforeDestroy` hook is triggered before the danmaku is destroyed. This hook allows returning a `promise`. If you need to manually call the [**`danmaku.destroy`**](../reference/danmaku-api/#danmaku-destroy) method, you can try passing a `mark`.
106106

docs/en/reference/manager-properties.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The current number of tracks inside the container. When the container size chang
4848

4949
## `manager.container`
5050

51-
**类型:`Container`**
51+
**Type: `Container`**
5252

5353
See the [**`Container API`**](./container-api) section.
5454

0 commit comments

Comments
 (0)