Skip to content

Commit

Permalink
docs(cdk:resize): api docs is incorrect (#1607)
Browse files Browse the repository at this point in the history
开发套件中resize套件文档中api错误

fix #1606
  • Loading branch information
AFine970 authored Jul 20, 2023
1 parent 758836c commit 258ae73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/cdk/resize/docs/Api.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
| `boundary` | 可调整尺寸的边界范围 | `'parent' \| 'window' \| Window \| MaybeElementRef` | `parent` | - | - |
| `disabled` | 是否禁用 | `boolean` | `false` | - | - |
| `free` | 是否自由调整 | `boolean` | - | - | 自动设置 `style` |
| `handles` | 定义拖拽手柄的位置 | `ResizableHandlePlacement[]` | `allHandlePlacements` | - | - |
| `handlers` | 定义拖拽手柄的位置 | `ResizableHandlePlacement[]` | `allHandlePlacements` | - | - |
| `is` | 可以调整尺寸的元素或者组件 | `string \| Component` | `'div'` | - | - |
| `maxHeight` | 可调整的最大高度 | `number` | `Number.MAX_SAFE_INTEGER` | - | - |
| `maxWidth` | 可调整的最大宽度 | `number` | `Number.MAX_SAFE_INTEGER` | - | - |
| `minHeight` | 可调整的最小高度 | `number` | `8` | - | - |
| `minWidth` | 可调整的最小宽度 | `number` | `8` | - | - |
| `onDragStart` | 拖拽开始事件 | - | `ResizableEvent` | - | - |
| `onDrag` | 拖拽过程中事件 | - | `ResizableEvent` | - | - |
| `onDragEnd` | 拖拽结束事件 | - | `ResizableEvent` | - | - |
| `onResizeStart` | 拖拽开始事件 | - | `ResizableEvent` | - | - |
| `onResizing` | 拖拽过程中事件 | - | `ResizableEvent` | - | - |
| `onResizeEnd` | 拖拽结束事件 | - | `ResizableEvent` | - | - |

```ts
const allHandlePlacements = ['top', 'bottom', 'start', 'end', 'topStart', 'topEnd', 'bottomStart', 'bottomEnd'] as const
Expand Down

0 comments on commit 258ae73

Please sign in to comment.