Files
NativeScript/tns-core-modules/ui/core/control-state-change.d.ts
Panayot Cankov e135c20b14 Rename the files
2016-05-26 14:30:25 +03:00

19 lines
578 B
TypeScript

declare module "ui/core/control-state-change" {
/**
* An utility class used for supporting styling infrastructure.
*/
class ControlStateChangeListener {
/**
* Initializes an instance of ControlStateChangeListener class.
* @param control An instance of the UIControl which state will be watched.
* @param callback A callback called when a visual state of the UIControl is changed.
*/
constructor(control: any /* UIControl */, callback: (state: string) => void);
start();
stop();
}
}