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/05/23 07:16:12 UTC

[04/13] git commit: [flex-asjs] [refs/heads/release0.8.0] - make selectedIndex and selectedItem bindable

make selectedIndex and selectedItem bindable


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

Branch: refs/heads/release0.8.0
Commit: 9a319b263fbc0e5baa83119eda84bd5876e61d18
Parents: 4713ffd
Author: Alex Harui <ah...@apache.org>
Authored: Sun May 21 23:25:57 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 00:15:55 2017 -0700

----------------------------------------------------------------------
 .../projects/Basic/src/main/flex/org/apache/flex/html/List.as      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a319b26/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/List.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/List.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/List.as
index fb2481f..2daf3b1 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/List.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/List.as
@@ -88,6 +88,7 @@ package org.apache.flex.html
 		 *  @playerversion AIR 2.6
 		 *  @productversion FlexJS 0.0
 		 */
+		[Bindable("change")]
         public function get selectedIndex():int
 		{
 			return ISelectionModel(model).selectedIndex;
@@ -140,6 +141,7 @@ package org.apache.flex.html
 		 *  @playerversion AIR 2.6
 		 *  @productversion FlexJS 0.0
 		 */
+		[Bindable("change")]
 		public function get selectedItem():Object
 		{
 			return ISelectionModel(model).selectedItem;