of

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

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


fun of(offsetPixels: Number): PopupPlacementStrategy(source)

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