Roo/bootstrap/Component.js
authorEdward <edward@roojs.com>
Fri, 13 Jul 2018 06:56:53 +0000 (14:56 +0800)
committerEdward <edward@roojs.com>
Fri, 13 Jul 2018 06:56:53 +0000 (14:56 +0800)
Roo/bootstrap/Component.js

index 984a02c..7cbafec 100644 (file)
@@ -365,6 +365,15 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         
         return cn;
     },
+    
+    /**
+     * Set the element that will be used to show or hide
+     */
+    setVisibilityEl : function(el)
+    {
+       this.visibilityEl = el;
+    },
+    
      /**
      * Get the element that will be used to show or hide
      */