Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
vangleer committed Nov 18, 2024
1 parent 8e3a41d commit 057e022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ import Drager from 'es-drager'
| 属性名 | 说明 | 类型 | 默认 |
| --------------------- | ------------ | ------------------------------------------ | ----- |
| tag | component组件的is属性 | ^[string] | div |
| type | 类型,`rect`, `text`, `image` | ^[string] | rect |
| width | 宽度 | ^[number] | 100 |
| height | 高度 | ^[number] | 100 |
| left | 横坐标偏移 | ^[number] | 0 |
Expand Down
1 change: 1 addition & 0 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Directly import `es-drager` using the HTML script tag, then you can use the glob
| Property Name | Description | Type | Default |
| --------------------- | ------------------------- | -------------------- | ------- |
| tag | Component's `is` attribute | ^[string] | div |
| type | `rect`, `text`, `image` | ^[string] | rect |
| width | Width | ^[number] | 100 |
| height | Height | ^[number] | 100 |
| left | Horizontal offset | ^[number] | 0 |
Expand Down

0 comments on commit 057e022

Please sign in to comment.