Roo/bootstrap/panel/Content.js
authorAlan Knowles <alan@roojs.com>
Tue, 2 Feb 2021 02:18:21 +0000 (10:18 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 2 Feb 2021 02:18:21 +0000 (10:18 +0800)
Roo/bootstrap/panel/Content.js

index e6c589b..bc5dabf 100644 (file)
@@ -27,6 +27,7 @@
  * @cfg {String/Object} params  When used with {@link #url}, calls {@link #setUrl} with this value
  * @cfg {Boolean} loadOnce      When used with {@link #url}, calls {@link #setUrl} with this value
  * @cfg {String}    content        Raw content to fill content panel with (uses setContent on construction.)
+ * @cfg {Boolean} iframe      contents are an iframe - makes showing remote sources/CSS feasible..
  * @cfg {Boolean} badges render the badges
  * @cfg {String} cls  extra classes to use  
  * @cfg {String} background (primary|secondary|success|info|warning|danger|light|dark)
@@ -204,6 +205,8 @@ Roo.extend(Roo.bootstrap.panel.Content, Roo.bootstrap.Component, {
     
     tabTip : '',
     
+    iframe : false,
+    
     setRegion : function(region){
         this.region = region;
         this.setActiveClass(region && !this.background);