When to hide the floater. The default value is UFFloaterAutoHide.Outside.
When to show or hide the floater when the user clicks or taps the element. The default value is UFFloaterAutoShow.Toggle
Function to check if floater can be hidden. The event is set if the callback is triggered in response to a user action.
Content for floater. The default value is an empty string (no content).
Custom hide transition.
Custom show transition.
Element to position floater to. The default value is null. When not null the floater instance will check if the element is clicked/tapped up on and will show or hide the floater.
Used when element is set and positionX is UFFloaterElementPosition.Relative. The default value is 0.
Used when element is set and positionY is UFFloaterElementPosition.Relative. The default value is 0.
Height in pixels or null
to let the height be defined by content.
The default value is null
.
When true keep floater fully visible, even if the element is scrolled (partially) outside the visible area.
Callback that is called when floater is hidden.
Callback that is called when the floater has initialized and all properties are set.
Callback that is called when floater is shown.
Determines how to use the floaterX and elementX values. The default value is UFFloaterElementPosition.Adjacent.
Determines how to use the floaterY and elementY values. The default value is UFFloaterElementPosition.Overlap.
This field is used if no element is set. It is the horizontal position of the floater
within the screen.
If the value is a number, it is processed as relative position both within the floater
as within the screen; with 0.0 being at the start and 1.0 at the end.
If the value is a string, the value is just assigned to the left
style.
The default value is 0.5
; placing the center of the floater at the center of the screen.
This field is used if no element is set. It is the vertical position of the floater
within the screen.
If the value is a number, it is processed as relative position both within the floater
as within the screen; with 0.0 being at the start and 1.0 at the end.
If the value is a string, the value is just assigned to the top
style.
The default value is 0.5
; placing the center of the floater at the center of the screen.
Transition to use. The default value is UFFloaterTransition.None.
Width in pixels or null
to let the width be defined by content.
The default value is null
.
The options for UFFloater