Scoop API

scoop:scoop.ui.component:0.1.0

TooltipProps

class TooltipProps

source · line 42
public
public class TooltipProps public constructor(
    public val trigger: View,
    public val content: PanelContent,
    public val open: Binding<Boolean>? = None,
    public val side: OverlaySide = OverlaySide.Top,
    public val alignment: OverlayAlignment = OverlayAlignment.Center,
    public val gap: Double = 4.0,
    public val viewportPadding: Double = 8.0,
    public val maxWidth: Double = 320.0,
    public val openDelay: Duration = Duration.ZERO,
    public val closeDelay: Duration = Duration.ZERO,
    public val transitDelay: Duration = Duration.milliseconds(350L),
    public val corridorPadding: Double = 6.0,
    public val focus: Boolean = true,
    public val enabled: Boolean = true,
    public val arrow: PopupArrow? = Some(PopupArrow()),
    public val handle: OverlayHandle? = None,
    public val transition: StyleValue<AnimationSpec?> = StyleValue.Inherit,
    public val onOpenChange: (Boolean) -> Unit = {},
    public val onClosed: (OverlayCloseReason) -> Unit = {},
    public val fonts: FontCollection? = None,
    public val theme: ThemeSource? = None,
    public val style: StyleOverride = styleOverride(),
    public val semantics: ComponentSemantics = ComponentSemantics(),
    public val longPress: LongPressOptions = LongPressOptions()
)

constructor constructor

source · line 42
public
constructor(public val trigger: View, public val content: PanelContent, public val open: Binding<Boolean>? = None, public val side: OverlaySide = OverlaySide.Top, public val alignment: OverlayAlignment = OverlayAlignment.Center, public val gap: Double = 4.0, public val viewportPadding: Double = 8.0, public val maxWidth: Double = 320.0, public val openDelay: Duration = Duration.ZERO, public val closeDelay: Duration = Duration.ZERO, public val transitDelay: Duration = Duration.milliseconds(350L), public val corridorPadding: Double = 6.0, public val focus: Boolean = true, public val enabled: Boolean = true, public val arrow: PopupArrow? = Some(PopupArrow()), public val handle: OverlayHandle? = None, public val transition: StyleValue<AnimationSpec?> = StyleValue.Inherit, public val onOpenChange: (Boolean) -> Unit = {}, public val onClosed: (OverlayCloseReason) -> Unit = {}, public val fonts: FontCollection? = None, public val theme: ThemeSource? = None, public val style: StyleOverride = styleOverride(), public val semantics: ComponentSemantics = ComponentSemantics(), public val longPress: LongPressOptions = LongPressOptions())