diff options
author | Valerio Virgillito | 2012-02-01 14:37:30 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-01 14:37:30 -0800 |
commit | d26a13de2aca25c36cb35f85604de1ac2b9befbb (patch) | |
tree | 0419eb0ca8aa923e99b549702c79a219c06916ce /js/data | |
parent | 9d0f0e55167e0cb2f73dd056cb35a2e82b45340e (diff) | |
download | ninja-d26a13de2aca25c36cb35f85604de1ac2b9befbb.tar.gz |
Simple button native widget test. Added a controller, pi and panel code.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/data')
-rw-r--r-- | js/data/pi/pi-data.js | 18 |
1 files changed, 17 insertions, 1 deletions
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, { | |||
508 | }, | 508 | }, |
509 | 509 | ||
510 | componentPi: { | 510 | componentPi: { |
511 | value: [] | 511 | value: [ |
512 | { | ||
513 | label: "Button", | ||
514 | |||
515 | Section: [ | ||
516 | [ | ||
517 | { | ||
518 | type: "textbox", | ||
519 | id: "Label", | ||
520 | prop: "label", | ||
521 | defaultValue: "Button", | ||
522 | label: "Label" | ||
523 | } | ||
524 | ] | ||
525 | ] | ||
526 | } | ||
527 | ] | ||
512 | } | 528 | } |
513 | }); | 529 | }); |
514 | 530 | ||