🗨️ Popup
Popup Menu
Display a popup with a little arrow pointing to the origin.
It should be opened with the openAt(origin, transformOrigin)
function.
- transformOrigin can be any of
Item.Top
,Item.Bottom
,Item.Right
,Item.Left
. - origin must be the coordinate of the origin in
Overlay
. You should use the functionmapToItem(Overlay.overlay, x, y)
to get the origin.
Popup Menu Item
Dedicated Button for popup menu.