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

hiedra 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 8e0ed012ab FontAwesomeIcon: Add properties "kit", only v=6.
8e0ed012ab is described below

commit 8e0ed012ab4a20b6d7d50d2c0ab522a178126c23
Author: mjesteve <[email protected]>
AuthorDate: Fri May 17 19:33:18 2024 +0200

    FontAwesomeIcon: Add properties "kit", only v=6.
---
 .../org/apache/royale/icons/FontAwesomeIcon.as     | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git 
a/frameworks/projects/Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as
 
b/frameworks/projects/Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as
index a884c9aae3..a6605d5a03 100644
--- 
a/frameworks/projects/Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as
+++ 
b/frameworks/projects/Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as
@@ -408,5 +408,27 @@ package org.apache.royale.icons
             if(value && _stackLevel == 1)
                 addClass('fa-inverse');
         }
+        
+        protected var _kit:Boolean;
+        /**
+         *  Indicates that the icon is personalized and is part of a 
Professional Kit
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion Royale 0.9.11
+         */
+        public function get kit():Boolean
+        {
+            return _kit;
+        }
+        public function set kit(value:Boolean):void
+        {
+            if(v >= 6)
+            {
+                _kit = value;
+                toggleClass('fa-kit', _kit);
+            }
+        }
     }
 }

Reply via email to