flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [10/21] git commit: [flex-asjs] [refs/heads/tlf] - mouseevent also needs defaultPrevented
Date Mon, 08 May 2017 18:59:22 GMT
mouseevent also needs defaultPrevented


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

Branch: refs/heads/tlf
Commit: 15a223cf6cfb60af8c72cbf7f5135abdc8b4dbaf
Parents: abc3c03
Author: Alex Harui <aharui@apache.org>
Authored: Sun May 7 19:02:54 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Mon May 8 11:59:02 2017 -0700

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/events/MouseEvent.as | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/15a223cf/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
index 3e5a617..1cea36d 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
@@ -185,6 +185,19 @@ package org.apache.flex.events
             return false;
         }
 
+        /**
+         * defaultPrevented is true if <code>preventDefault()</code> was called.
+         *
+         * @langversion 3.0
+         * @playerversion Flash 10.2
+         * @playerversion AIR 2.6
+         * @productversion FlexJS 0.0
+         */
+        public function get defaultPrevented():Boolean
+        {
+        	return isDefaultPrevented();
+        }
+
 	}
 
 	COMPILE::JS


Mime
View raw message