UNPKG

506 BTypeScriptView Raw
1/**
2 * An utility class used for supporting styling infrastructure.
3 * WARNING: This class is intended for IOS only.
4 */
5export class ControlStateChangeListener {
6 /**
7 * Initializes an instance of ControlStateChangeListener class.
8 * @param control An instance of the UIControl which state will be watched.
9 * @param callback A callback called when a visual state of the UIControl is changed.
10 */
11 constructor(control: any /* UIControl */, callback: (state: string) => void);
12
13 start();
14 stop();
15}