mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
16 lines
507 B
TypeScript
16 lines
507 B
TypeScript
import observable = require("ui/core/observable");
|
|
import bindable = require("ui/core/bindable");
|
|
|
|
export class ProxyObject extends bindable.Bindable {
|
|
public setPropertyCore(data: observable.PropertyChangeData) {
|
|
this.setNativeProperty(data);
|
|
}
|
|
|
|
public setNativeProperty(data: observable.PropertyChangeData) {
|
|
// inheritors will override this method to provide specific implementation
|
|
}
|
|
|
|
public onNativePropertyChanged(data: observable.PropertyChangeData) {
|
|
|
|
}
|
|
} |