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 6e4d24f533 subclass text node container
6e4d24f533 is described below

commit 6e4d24f5331748fa0b034dd39b6647236a48eeca
Author: Harbs <[email protected]>
AuthorDate: Wed Apr 15 10:38:37 2026 +0300

    subclass text node container
---
 .../org/apache/royale/style/AccordionContent.as    | 30 +++-------------------
 1 file changed, 3 insertions(+), 27 deletions(-)

diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/AccordionContent.as
 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/AccordionContent.as
index d2f13b0f59..c48ee58cb9 100644
--- 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/AccordionContent.as
+++ 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/AccordionContent.as
@@ -19,37 +19,13 @@
 package org.apache.royale.style
 {
 
-  public class AccordionContent extends StyleUIBase
+  import org.apache.royale.style.support.TextNodeContainerBase;
+
+  public class AccordionContent extends TextNodeContainerBase
   {
     public function AccordionContent()
     {
       super();
     }
-
-
-    COMPILE::JS
-    private var _textNode:Text;
-
-    private var _text:String;
-
-    public function get text():String
-    {
-       return _text;
-    }
-
-    public function set text(value:String):void
-    {
-       _text = value;
-      COMPILE::JS
-      {
-        if(!_textNode){
-          _textNode = document.createTextNode(_text) as Text;
-          _element.appendChild(_textNode);
-        }
-        _textNode.nodeValue = value;
-
-      }
-    }
-
   }
 }
\ No newline at end of file

Reply via email to