showPopup()
showPopup(
element,anchor,options?):Element
Defined in: ui.ts:652
Shows popup with the [element] near the [anchor]. tooltip, and popup menu.
Parameters
| Parameter | Type |
|---|---|
element | HTMLElement |
anchor | HTMLElement |
options? | { dx?: number; dy?: number; smart?: boolean; vertical?: boolean; } |
options.dx? | number |
options.dy? | number |
options.smart? | boolean |
options.vertical? | boolean |
Returns
Element