mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
definitions fixed
This commit is contained in:
14
ui/core/control-state-change.d.ts
vendored
Normal file
14
ui/core/control-state-change.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
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: UIControl, callback: (state: string) => void);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user