UNPKG

513 BTypeScriptView Raw
1import { ControlStateChangeListener as ControlStateChangeListenerDefinition } from '.';
2export declare class ControlStateChangeListener implements ControlStateChangeListenerDefinition {
3 private _observer;
4 private _control;
5 private _observing;
6 private _callback;
7 constructor(control: UIControl, callback: (state: string) => void);
8 start(): void;
9 stop(): void;
10 private _onEnabledChanged;
11 private _onSelectedChanged;
12 private _onHighlightedChanged;
13 private _updateState;
14}