8.7 released—WinterCG Compliance Part 1
Learn more
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