Files
NativeScript/ui/core/control-state-change.d.ts
Hristo Deshev 70041bd999 Don't expose platform types in public d.ts files.
Use any. Add a comment with the real type.
2015-10-30 17:17:29 +02:00

15 lines
543 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);
}
}