TimedOpenClosePopupStrategy

Properties

Link copied to clipboard

A readable convenience property that queries the underlying state flow.

Link copied to clipboard
val requestFlow: StateFlow<OpenClose>
Link copied to clipboard

Functions

Link copied to clipboard
open fun init(targetElement: HTMLElement)

Initialize this strategy with some target element.

Link copied to clipboard
Link copied to clipboard
open fun reset()

Release resources (if necessary) allocated by init.

Link copied to clipboard

Show the popup and kick off a timer.

Link copied to clipboard
fun stopEarly()

Interrupt the timer, if running, and hide the popup immediately.