You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/06/26 17:50:55 UTC

[18/50] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - add binding as well

add binding as well


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3636ebbc
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3636ebbc
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3636ebbc

Branch: refs/heads/develop
Commit: 3636ebbc2b65fe1c00b8c737e2b629e1650f87fb
Parents: 66d37b0
Author: Alex Harui <ah...@apache.org>
Authored: Tue Jun 6 22:18:59 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Jun 6 22:20:16 2017 -0700

----------------------------------------------------------------------
 manualtests/FlexJSTest_Panel/src/MyInitialView.mxml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3636ebbc/manualtests/FlexJSTest_Panel/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/manualtests/FlexJSTest_Panel/src/MyInitialView.mxml b/manualtests/FlexJSTest_Panel/src/MyInitialView.mxml
index 9909dda..aa431f8 100644
--- a/manualtests/FlexJSTest_Panel/src/MyInitialView.mxml
+++ b/manualtests/FlexJSTest_Panel/src/MyInitialView.mxml
@@ -132,7 +132,9 @@ limitations under the License.
         }
 	</fx:Style>
 	
-	
+	<js:beads>
+		<js:ViewDataBinding />
+	</js:beads>
 	<js:Panel title="Example" x="300" width="300" y="50" height="250" className="panel1" showCloseButton="true">
 		<js:beads>
 			<js:VerticalLayout />
@@ -149,6 +151,7 @@ limitations under the License.
 							  stepSize="10"/>
 		<js:Spacer height="10" />
 		<js:Label id="slideMe" text="slider value" />
+		<js:Label id="slideMe2" text="{slider.value}" />
 		<js:Slider id="slider" width="200"
 					  valueChange="sliderChanged(slider)"
 					  minimum="0"