From d26a13de2aca25c36cb35f85604de1ac2b9befbb Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 1 Feb 2012 14:37:30 -0800 Subject: Simple button native widget test. Added a controller, pi and panel code. Signed-off-by: Valerio Virgillito --- js/data/pi/pi-data.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'js/data') diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js index 189d1dae..30b1f60d 100644 --- a/js/data/pi/pi-data.js +++ b/js/data/pi/pi-data.js @@ -508,7 +508,23 @@ exports.PiData = Montage.create( Montage, { }, componentPi: { - value: [] + value: [ + { + label: "Button", + + Section: [ + [ + { + type: "textbox", + id: "Label", + prop: "label", + defaultValue: "Button", + label: "Label" + } + ] + ] + } + ] } }); -- cgit v1.2.3