Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/html/lib/onyx/source/RadioGroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/lib/onyx/source/RadioGroup.js')
-rw-r--r--html/lib/onyx/source/RadioGroup.js18
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"
+});
+