Package-level declarations

JengaAction: a label and its tap handler bundled together, taken by blocks that offer an optional action, so a label is never shown without something to tap.

Types

Link copied to clipboard
class JengaAction(val label: String, val onClick: () -> Unit)

A labeled tap action: the text to show and the handler to run, bundled so a label can never be rendered without something to tap. Blocks that expose an optional trailing action take a nullable JengaAction rather than a separate label and handler pair.