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/tlf Commit: 3636ebbc2b65fe1c00b8c737e2b629e1650f87fb Parents: 66d37b0 Author: Alex Harui <aha...@apache.org> Authored: Tue Jun 6 22:18:59 2017 -0700 Committer: Alex Harui <aha...@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"