You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2020/01/19 21:41:32 UTC
[royale-asjs] branch develop updated: added tabIndex
This is an automated email from the ASF dual-hosted git repository.
harbs 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 77a9076 added tabIndex
77a9076 is described below
commit 77a9076d87fc10a76f311afd15936588d0126181
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sun Jan 19 23:41:17 2020 +0200
added tabIndex
---
.../org/apache/royale/html/NodeElementBase.as | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/NodeElementBase.as b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/NodeElementBase.as
index 106d93a..dae95a2 100644
--- a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/NodeElementBase.as
+++ b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/NodeElementBase.as
@@ -77,6 +77,27 @@ package org.apache.royale.html
element.setAttribute("class",value);
}
}
+
+ COMPILE::SWF
+ override public function get tabIndex():int{
+ return super.tabIndex;
+ }
+ COMPILE::SWF
+ override public function set tabIndex(value:int):void{
+ super.tabIndex = value;
+ }
+
+ COMPILE::JS
+ public function get tabIndex():int
+ {
+ return element.tabIndex;
+ }
+ COMPILE::JS
+ public function set tabIndex(value:int):void
+ {
+ element.tabIndex = value;
+ }
+
COMPILE::SWF
protected var _attributes_:Object = {};
public function setAttribute(name:String,value:String):void