Companion

Functions

Link copied to clipboard
fun of(offsetPixels: Number): PopupPlacementStrategy

A helper method when you care about the offset of the placement but not the direction.

fun of(placement: PopupPlacement, offsetPixels: Number = DEFAULT_POPUP_OFFSET_PX): PopupPlacementStrategy

Returns the general strategy of placing a popup in a particular location based on a desired PopupPlacement.