OpenClose

abstract class OpenClose

Base class that provides all functionality needed for components, that have some "open" and "close" state of representation.

Just extend from this class to gain and provide access to the basic data-binding openState that holds the central state, the opened data-flow and expressive handler like close or open to set the state.

Typical examples of OpenClose based components are modal dialogs or all popup-components, that appear and disappear based upon user interaction.

There are some protected functions in order to configure the appropriate actions for opening and closing based upon user interaction like pressing some keys or clicking with the mouse:

Constructors

Link copied to clipboard
fun OpenClose()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val opened: Flow<Boolean>
Link copied to clipboard
Link copied to clipboard

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard