PopupMessage

open class PopupMessage(val view: UIElement, val alignV: AlignV, val timeoutMs: Int, val onClosed: (popup: PopupMessage) -> Unit? = null)

A popup message information to be used with the [UIKit.app.Screen.showPopup method

Parameters

view

the ui element to be shown

alignV

the vertical position to show the ui element

timeoutMs

the amount of time to show the ui element. null for infinite

onClosed

being called after the popup message has closed

See also

Constructors

Link copied to clipboard
constructor(view: UIElement, alignV: AlignV, timeoutMs: Int, onClosed: (popup: PopupMessage) -> Unit? = null)

Functions

Link copied to clipboard

Return true if the popup message is currently displayed

Link copied to clipboard

Re-trigger to popup timeout (restart the timeoutMs counting)

Properties

Link copied to clipboard
Link copied to clipboard

enter animation duration in milliseconds

Link copied to clipboard

exit animation duration in milliseconds

Link copied to clipboard

vertical margin in pixels from the top/bottom, according to alignV

Link copied to clipboard
val onClosed: (popup: PopupMessage) -> Unit? = null
Link copied to clipboard
Link copied to clipboard