flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [05/40] git commit: [flex-asjs] [refs/heads/tlf] - FLEX-35269 - Make Switch dynamic
Date Sun, 26 Mar 2017 13:01:57 GMT
FLEX-35269 - Make Switch dynamic


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8b48adab
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8b48adab
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8b48adab

Branch: refs/heads/tlf
Commit: 8b48adab94b51d69000517aa9b32aae311d8d4bf
Parents: e319035
Author: piotrz <piotrz@apache.org>
Authored: Sat Mar 18 15:11:38 2017 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Sat Mar 18 15:11:38 2017 +0100

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/mdl/Switch.as                 | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8b48adab/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
index 081c55b..5a0f965 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
@@ -25,6 +25,8 @@ package org.apache.flex.mdl
     import org.apache.flex.html.TextButton;
     import org.apache.flex.events.IEventDispatcher;
     import org.apache.flex.core.IUIBase;
+    import org.apache.flex.mdl.beads.UpgradeChildren;
+    import org.apache.flex.mdl.beads.UpgradeElement;
 
     COMPILE::JS
     {    
@@ -100,6 +102,9 @@ package org.apache.flex.mdl
             }
 
             className = "";
+            
+            addBead(new UpgradeElement());
+            addBead(new UpgradeChildren(["mdl-switch__ripple-container"]));
         }
 
         /**


Mime
View raw message