manual
fun KeepPopupOpenStrategy.Companion.manual(defaultValue: Boolean = true): ManualKeepPopupOpenStrategy(source)
A KeepPopupOpenStrategy that allows the user to manually control whether the popup should stay open or not.
This strategy defaults to true
, meaning if you want to close the popup, you must explicitly set shouldKeepOpen to false. A common use-case here is that your popup has a close button that the user can click to close the popup. Another approach could be a popup that closes when a timer runs down, etc.
A strategy that allows the user to manually control when a popup should open or close.