ares-ide
Version:
A browser-based code editor and UI designer for Enyo 2 projects
21 lines (18 loc) • 512 B
JavaScript
/**
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: "enyo.Group",
defaultKind: "onyx.RadioButton",
//* @protected
// set to true to provide radio button behavior
highlander: true
});