Skip to content

Commit

Permalink
docs: update docs for disable/enable
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshenhai committed Mar 24, 2024
1 parent 3540fb8 commit 4800ce5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/en-US/api/enable-disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
- `'ruler'`: Ruler feature
- `'scroll'`: Scroll feature
- `'scale'`: Scale feature
- `'info'`: Display information, eg. element size
- `-` Other features are to be developed...

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

## Returns
Expand Down
3 changes: 2 additions & 1 deletion src/zh-CN/api/enable-disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
- `'ruler'`: 标尺功能
- `'scroll'`: 滚动条功能
- `'scale'`: 缩放功能
- `'info'`: 信息显示功能,例如显示坐标信息
- `-` 其它功能待开发 ...

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

## 返回值
Expand Down

0 comments on commit 4800ce5

Please sign in to comment.