Package dev.fritz2.components.popup

Types

Placement
Link copied to clipboard
js
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.
PlacementContext
Link copied to clipboard
js
object PlacementContext
This object offers some values for setting up the placement of some popup.
PopupComponent
Link copied to clipboard
js
open class PopupComponent : EventProperties<HTMLInputElement> , Component<Div>
This component creates a popup.
Positioning
Link copied to clipboard
js
class Positioning(triggerInformation: TriggerInformation, element: HTMLDivElement, offset: Double, placement: Placement, flipping: Boolean)
This class helps to find the right positioning of the PopupComponent.content
TriggerInformation
Link copied to clipboard
js
data class TriggerInformation(id: String, active: Boolean, domRect: DOMRect)
Foundation class of the popper data handling