Skip to content

Commit

Permalink
docs: update docs pf enanle and disable
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshenhai committed Mar 16, 2024
1 parent 0d49fd2 commit 3540fb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/en-US/api/enable-disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@

- `{IDrawFeature}` `feat` Feature type
- `'ruler'`: Ruler feature
- `'scroll'`: Scroll feature
- `'scale'`: Scale feature
- `-` Other features are to be developed...

```ts
type IDrawFeature = 'ruler' | string; // TODO other features
type IDrawFeature = 'ruler' | 'scroll' | 'scale'; // TODO other feature
```

## Returns
Expand Down
4 changes: 3 additions & 1 deletion src/zh-CN/api/enable-disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@

- `{IDrawFeature}` `feat` 功能类型
- `'ruler'`: 标尺功能
- `'scroll'`: 滚动条功能
- `'scale'`: 缩放功能
- `-` 其它功能待开发 ...

```ts
type IDrawFeature = 'ruler' | string; // TODO other feature
type IDrawFeature = 'ruler' | 'scroll' | 'scale'; // TODO other feature
```

## 返回值
Expand Down

0 comments on commit 3540fb8

Please sign in to comment.