🚀 8.9 Released! → ⚡️ New Node-API Engine Preview, 📲 ns widget ios, 💅 Tailwind v4 and more...
Read Announcement
ControlStateChangeListener
An utility class used for supporting styling infrastructure. WARNING: This class is intended for IOS only.

Summary

Constructors

constructor

Methods

start
stop

Constructors

constructor

new ControlStateChangeListener(control: any, callback: (state: string) => void): ControlStateChangeListener
Initializes an instance of ControlStateChangeListener class.
Parameter Default Description
control
any

An instance of the UIControl which state will be watched.

callback
(state: string) => void

A callback called when a visual state of the UIControl is changed.

Methods

Previous
ContentView