Button

class Button(state: Boolean = false) : Toggleable

Represents the state of a button.

Constructors

Link copied to clipboard
constructor(state: Boolean = false)

Properties

Link copied to clipboard
open override var lastState: Boolean
Link copied to clipboard
open override var state: Boolean

Functions

Link copied to clipboard
fun toggle()
Link copied to clipboard
fun update(newState: Boolean)