Roo/bootstrap/Component.js
[roojs1] / 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
      */