Placement

sealed class Placement

Placement combines the position information (top and left coordinates) and the possible placement alternatives used by the PopupComponent.flipping automatic placement mode.

It will be used internally by the PopupComponent.PlacementContext as data foundation for the Positioning.

See also

Types

Link copied to clipboard
object Bottom : Placement
Link copied to clipboard
object BottomEnd : Placement
Link copied to clipboard
object BottomStart : Placement
Link copied to clipboard
object Left : Placement
Link copied to clipboard
object LeftEnd : Placement
Link copied to clipboard
object LeftStart : Placement
Link copied to clipboard
object Right : Placement
Link copied to clipboard
object RightEnd : Placement
Link copied to clipboard
object RightStart : Placement
Link copied to clipboard
object Top : Placement
Link copied to clipboard
object TopEnd : Placement
Link copied to clipboard
object TopStart : Placement

Properties

Link copied to clipboard
val flips: List<Placement>

listOf alternative placements for content

Link copied to clipboard
val position: (trigger: TriggerInformation, element: HTMLDivElement, offset: Double) -> Pair<Double, Double>

calculate the default position of Placement

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard