Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ZKLlab committed Aug 12, 2020
1 parent 0025724 commit 8efb186
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,10 @@ We can use `applyAction` method to send an `Action` to the `Annotator` object, s
| Action | what is it | param |
| -------------------------- | ------------------------ | ---------------------------------- |
| `Action.Label.Create` | create a Label | (categoryId, startIndex, endIndex) |
| `Action.Label.Update` | change category for a label | (labelId,categoryId) |
| `Action.Label.Update` | change category for a label | (labelId, categoryId) |
| `Action.Label.Delete` | delete a Label | (labelId) |
| `Action.Connection.Create` | create Connection | (categoryId, startIndex, endIndex) |
| `Action.Connection.Update` | change category for a Connection | (connectionId,categoryId) |
| `Action.Connection.Create` | create Connection | (categoryId, fromId, toId) |
| `Action.Connection.Update` | change category for a Connection | (connectionId, categoryId) |
| `Action.Connection.Delete` | delete a Connection | (connectionId) |
| `Action.Content.Splice` | the content to be splice | (startIndex, removeLength, insert) |

Expand Down
6 changes: 3 additions & 3 deletions doc/zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,10 @@ annotator.on('connectionDoubleClicked', (id: number, event: MouseEvent) => {
| Action | 说明 | 参数 |
| -------------------------- | ------------------------ | ---------------------------------- |
| `Action.Label.Create` | 创建Label | (categoryId, startIndex, endIndex) |
| `Action.Label.Update` | 修改Label的category | (labelId,categoryId) |
| `Action.Label.Update` | 修改Label的category | (labelId, categoryId) |
| `Action.Label.Delete` | 删除Label | (labelId) |
| `Action.Connection.Create` | 创建Connection | (categoryId, startIndex, endIndex) |
| `Action.Connection.Update` | 修改Connection的category | (connectionId,categoryId) |
| `Action.Connection.Create` | 创建Connection | (categoryId, fromId, toId) |
| `Action.Connection.Update` | 修改Connection的category | (connectionId, categoryId) |
| `Action.Connection.Delete` | 删除Connection | (connectionId) |
| `Action.Content.Splice` | splice内容 | (startIndex, removeLength, insert) |

Expand Down

0 comments on commit 8efb186

Please sign in to comment.