Interface: CosmographPopupConfig
Properties
content?
optional
content:string
HTML content string to be displayed in the popup.
Default
''
bindTo?
optional
bindTo:string
|number
| [number
,number
]
The [x, y] position or point index or point id to bind the popup to.
Default
undefined
placement?
optional
placement:"top"
|"bottom"
Placement of the popup relative to the bound point: ātopā or ābottomā.
Default
'top'
offset?
optional
offset: [number
,number
]
Additional x and y pixel offset for the popup.
Default
[0, 8]
hidden?
optional
hidden:boolean
Whether to hide the popup.
Default
false