Skip to content

Commit 4fc7d8a

Browse files
committed
fix: postion
1 parent 3a1a370 commit 4fc7d8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,9 +777,9 @@ export type SwipeArg = {
777777
*
778778
* 需要注意是相对目标节点位置, 不是相对屏幕位置
779779
*
780-
* 使用 left/top/right/bottom 四条边实现定位, 此对象只能有两个属性, 也就是两条相邻边
780+
* 使用 left/top/right/bottom 节点四条边和 x/y 实现定位
781781
*
782-
* 合法的定位组合为: left-top, left-bottom, right-top, right-bottom, x-y
782+
* 选择两个属性分别为水平方向和垂直方向, 合法的定位组合为: left/right/x + top/bottom/y
783783
*
784784
* 示例1-点击目标节点的中心
785785
* ```json5

0 commit comments

Comments
 (0)