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

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

Properties

flips
Link copied to clipboard
js
val flips: List<Placement>
listOf alternative placements for content
position
Link copied to clipboard
js
val position: (trigger: TriggerInformation, element: HTMLDivElement, offset: Double) -> Pair<Double, Double>
calculate the default position of Placement

Inheritors

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