Skip to content

charton API


charton API / @chart-on/ui / index / PopoverPlacement

Interface: PopoverPlacement ​

Defined in: ui/src/dom.ts:241

Where a dropdown list goes, as computed by popoverPlacement: which trigger edge it aligns to and its height cap.

Properties ​

alignEnd ​

alignEnd: boolean

Defined in: ui/src/dom.ts:243

Anchor the list to the trigger's right edge instead of its left edge.


maxHeight ​

maxHeight: number | null

Defined in: ui/src/dom.ts:245

Height cap in px when the list does not fit the space available, else null.