Tooltips for Shapes
You can implement a tooltip on hover for the Drawing shapes by using the Popup component.
To toggle (show or hide) the tooltip, use the mouseenter
and mouseleave
events of the Surface.
Example
View Source
Edit In Stackblitz
Change Theme: