From b11789b62305456d95b684d314239c9668957b66 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 2 Feb 2021 10:18:21 +0800 Subject: [PATCH] Roo/bootstrap/panel/Content.js --- Roo/bootstrap/panel/Content.js | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2