Docs (4.0.0)
class UIButton property

pressed

The current visual selection state.

pressed: boolean

Notes

  • This property is not set automatically. It can be set manually, or bound using Binding.matches() to select and deselect the button based on the current value of a property.

Related