8.6 Released with 🥽 visionOS support and more!
Check it out
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 ​