Type Alias: OverlayEventHandler()<ContentType>
OverlayEventHandler<
ContentType
>: (event
) =>void
Type for handlers of overlay events
Type Parameters
• ContentType
Parameters
• event
• event.htmlTextOverlay: HTMLElement
• event.mousePosition
• event.mousePosition.offsetX: number
• event.mousePosition.offsetY: number
• event.targetOverlay: Overlay3D
<ContentType
>
Returns
void