From 70237744cfd4a0003190855bd521c57b4a5037c1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 10 Nov 2020 17:01:19 +0800 Subject: [PATCH] examples/bootstrap/dashboard4.bjs examples/bootstrap/dashboard4.js --- examples/bootstrap/dashboard4.bjs | 10 ++++++++++ examples/bootstrap/dashboard4.js | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/examples/bootstrap/dashboard4.bjs b/examples/bootstrap/dashboard4.bjs index 526875a4a7..494b55b665 100644 --- a/examples/bootstrap/dashboard4.bjs +++ b/examples/bootstrap/dashboard4.bjs @@ -42,6 +42,16 @@ "bool dropable" : true, "string drop_group" : "cards", "items" : [ + { + "String header" : "ticket 1", + "string drag_group" : "cards", + "String weight" : "light", + "String margin_bottom" : 3, + "xtype" : "Card", + "$ xns" : "Roo.bootstrap", + "String html" : "body goes here", + "bool dragable" : true + }, { "String header" : "ticket 1", "string drag_group" : "cards", diff --git a/examples/bootstrap/dashboard4.js b/examples/bootstrap/dashboard4.js index 6e7085ec83..968e18065b 100644 --- a/examples/bootstrap/dashboard4.js +++ b/examples/bootstrap/dashboard4.js @@ -57,6 +57,17 @@ dashboard4 = new Roo.XComponent({ xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap', items : [ + { + xtype : 'Card', + dragable : true, + drag_group : 'cards', + header : _this._strings['d9fb0367346d21079a1c52d72da61c9f'] /* ticket 1 */, + html : _this._strings['60ee66eb2cd31823032664c2e9a79fd5'] /* body goes here */, + margin_bottom : 3, + weight : 'light', + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap' + }, { xtype : 'Card', dragable : true, -- 2.39.2