You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2021/01/08 13:24:24 UTC

[royale-asjs] branch develop updated: dragExit added

This is an automated email from the ASF dual-hosted git repository.

alinakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new aa7a617  dragExit added
aa7a617 is described below

commit aa7a617c774d5677b7d2b337b399dd8b9366bce1
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Fri Jan 8 18:24:16 2021 +0500

    dragExit added
---
 .../MXRoyale/src/main/royale/mx/core/UIComponent.as   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 774230a..93f4e89 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -353,6 +353,24 @@ import mx.display.NativeMenu;
  *  @productversion Flex 3
  */
 [Event(name="dragEnter", type="mx.events.DragEvent")]
+
+/**
+ *  Dispatched by the component when the user drags outside the component,
+ *  but does not drop the data onto the target.
+ *
+ *  <p>You use this event to restore the drop target to its normal appearance
+ *  if you modified its appearance as part of handling the
+ *  <code>dragEnter</code> or <code>dragOver</code> event.</p>
+ *
+ *  @eventType mx.events.DragEvent.DRAG_EXIT
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Royale 0.9.8
+ */
+[Event(name="dragExit", type="mx.events.DragEvent")]
+
 /**
  *  Dispatched by the drop target when the user releases the mouse over it.
  *
@@ -370,6 +388,7 @@ import mx.display.NativeMenu;
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
+
 [Event(name="dragDrop", type="mx.events.DragEvent")]
 
 /**