From 6700b98ce0c4be7d974dbe9083781e2e12482f39 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Thu, 26 Mar 2015 11:50:05 +0200 Subject: [PATCH] method definitions enabled for override (removed from @private) --- ui/core/bindable.d.ts | 3 ++- ui/core/dependency-observable.d.ts | 1 - ui/core/view.d.ts | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ui/core/bindable.d.ts b/ui/core/bindable.d.ts index 3f4666f41..e8f756d49 100644 --- a/ui/core/bindable.d.ts +++ b/ui/core/bindable.d.ts @@ -65,9 +65,10 @@ */ unbind(property: string); + _onBindingContextChanged(oldValue: any, newValue: any); + //@private _updateTwoWayBinding(propertyName: string, value: any); - _onBindingContextChanged(oldValue: any, newValue: any); //@endprivate } } diff --git a/ui/core/dependency-observable.d.ts b/ui/core/dependency-observable.d.ts index 3c10cab7b..209dd9908 100644 --- a/ui/core/dependency-observable.d.ts +++ b/ui/core/dependency-observable.d.ts @@ -181,7 +181,6 @@ declare module "ui/core/dependency-observable" { * This routine allows for various value modifiers per Property, which is used for inheritance, data-binding and styling purposes. */ export class DependencyObservable extends observable.Observable { - //@private // TODO: Do we want to expose the get/setValue methods as public? /** * Gets a value for the property. diff --git a/ui/core/view.d.ts b/ui/core/view.d.ts index fa0349aae..215a36b55 100644 --- a/ui/core/view.d.ts +++ b/ui/core/view.d.ts @@ -368,6 +368,9 @@ declare module "ui/core/view" { onUnloaded(): void; isLoaded: boolean; + _addView(view: View); + _removeView(view: View); + // TODO: Implement logic for stripping these lines out //@private _domId: number; @@ -375,8 +378,6 @@ declare module "ui/core/view" { _isAddedToNativeVisualTree: boolean; - _addView(view: View); - _removeView(view: View); /** * Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. */