diff options
author | Lionel LASKE <llaske@c2s.fr> | 2012-09-18 19:16:20 (GMT) |
---|---|---|
committer | Lionel LASKE <llaske@c2s.fr> | 2012-09-18 19:16:20 (GMT) |
commit | 816de0918c28461cc2d1e3457348fd5b6e11950f (patch) | |
tree | 667959b6e32d998a5bf4ae927ea59d88b71bfd44 /html/lib/onyx/source/RadioGroup.js |
Initial version
Diffstat (limited to 'html/lib/onyx/source/RadioGroup.js')
-rw-r--r-- | html/lib/onyx/source/RadioGroup.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/html/lib/onyx/source/RadioGroup.js b/html/lib/onyx/source/RadioGroup.js new file mode 100644 index 0000000..50f0124 --- /dev/null +++ b/html/lib/onyx/source/RadioGroup.js @@ -0,0 +1,18 @@ +/** + A group of <a href="#onyx.RadioButton">onyx.RadioButton</a> objects + laid out horizontally. Within the same radio group, tapping on one radio button + will release any previously tapped radio button. + + {kind: "onyx.RadioGroup", components: [ + {content: "foo", active: true}, + {content: "bar"}, + {content: "baz"} + ]} +*/ +enyo.kind({ + name: "onyx.RadioGroup", + kind: "Group", + highlander: true, + defaultKind: "onyx.RadioButton" +}); + |