9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Defined in: ui/core/control-state-change/index.d.ts:7

An utility class used for supporting styling infrastructure. WARNING: This class is intended for IOS only.

Constructors

Constructor

ts
new ControlStateChangeListener(
   control: any, 
   states: string[], 
   callback: ControlStateChangeListenerCallback): ControlStateChangeListener;

Defined in: ui/core/control-state-change/index.d.ts:13

Initializes an instance of ControlStateChangeListener class.

Parameters

ParameterTypeDescription
controlanyAn instance of the UIControl which state will be watched.
statesstring[]-
callbackControlStateChangeListenerCallbackA callback called when a visual state of the UIControl is changed.

Returns

ControlStateChangeListener

Methods

start()

ts
start(): any;

Defined in: ui/core/control-state-change/index.d.ts:15

Returns

any


stop()

ts
stop(): any;

Defined in: ui/core/control-state-change/index.d.ts:16

Returns

any

Previous
ContentView