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

pushminakazi 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 dc4239d  Update UIComponent.as added contextMenu
dc4239d is described below

commit dc4239dca12f5c58b4b37f0c901dc5d525dd6206
Author: pashminakazi <[email protected]>
AuthorDate: Thu Jan 7 13:35:29 2021 +0500

    Update UIComponent.as added contextMenu
    
    In Flex contextMenu property was added in IterativeObject class
---
 .../projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 12 ++++++++++++
 1 file changed, 12 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 ac89d97..27c67e6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -111,6 +111,7 @@ import mx.events.FocusEvent;
 import mx.styles.CSSStyleDeclaration;
 
 import org.apache.royale.utils.ClassSelectorList;
+import mx.display.NativeMenu;
 
 /**
  *  Set a different class for click events so that
@@ -6540,6 +6541,17 @@ COMPILE::JS
     {
         _styleDeclaration = value;
     }
+    
+    Bindable] public var _contextMenu:NativeMenu
+       
+       COMPILE::JS {
+               public function get contextMenu():NativeMenu {
+                       return _contextMenu;
+               }
+               public function set contextMenu(value:NativeMenu):void {
+                  _contextMenu = value
+               }
+       }
 
 }
 

Reply via email to