Interface: SVGPinProps
The prop type of an [[SVGPin
]] component.
Properties
color
• Optional
color: string
The color of the pin
Defined in
point
• point: Point
The point in the screen coordinate system.
Defined in
size
• Optional
size: number
The size of the pin
Defined in
Methods
onClick
▸ Optional
onClick(event
): void
A handler for click events
Parameters
Name | Type |
---|---|
event | MouseEvent <SVGElement , MouseEvent > |
Returns
void
Defined in
onContextMenu
▸ Optional
onContextMenu(event
): void
A handler for a context menu event
Parameters
Name | Type |
---|---|
event | MouseEvent <SVGElement , MouseEvent > |
Returns
void
Defined in
onMouseOut
▸ Optional
onMouseOut(event
): void
A handler for mouse-out events
Parameters
Name | Type |
---|---|
event | MouseEvent <SVGElement , MouseEvent > |
Returns
void
Defined in
onMouseOver
▸ Optional
onMouseOver(event
): void
A handler for mouse-over events
Parameters
Name | Type |
---|---|
event | MouseEvent <SVGElement , MouseEvent > |
Returns
void