Skip to content

Commit

Permalink
feat(Ellipse): 补全 Ellipse 的事件类型
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed Mar 22, 2024
1 parent be0757d commit 5ba9f86
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion types/overlays/Ellipse.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,19 @@ export type EllipseOptions<ExtraData = any> = {
extData?: ExtraData;
};

export type EllipseEventType = 'hide' | 'show' | 'click' | 'dblclick';
export type EllipseEventType =
| 'hide'
| 'show'
| 'click'
| 'dblclick'
| 'rightclick'
| 'mousedown'
| 'mouseup'
| 'mouseover'
| 'mouseout'
| 'touchstart'
| 'touchmove'
| 'touchend';

/**
* 构造多边形对象,通过 EllipseOptions 指定多边形样式
Expand Down

0 comments on commit 5ba9f86

Please sign in to comment.