From: Alan Knowles Date: Tue, 2 Feb 2021 02:18:21 +0000 (+0800) Subject: Roo/bootstrap/panel/Content.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=b11789b62305456d95b684d314239c9668957b66 Roo/bootstrap/panel/Content.js --- diff --git a/Roo/bootstrap/panel/Content.js b/Roo/bootstrap/panel/Content.js index e6c589b3d5..bc5dabf5bb 100644 --- a/Roo/bootstrap/panel/Content.js +++ b/Roo/bootstrap/panel/Content.js @@ -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);