- component에 지정한 radio를 생성하고 이를 통합하여 제어합니다.
- {linefeed: true} 단위로 한 라인에 버튼이 표시됩니다.
- ccode를 지정하지 않으면 'radio'로 처리됩니다.
new mc.types.RadioGroup({
eachWidth: [60, 60, 60],
showTo: 'showArea',
width: 350,
component: [
{ccode: 'label', text: '가장 좋아하는 스포츠', width: 130},
{ccode: 'radio', text: '축구'},
{ccode: 'radio', text: '농구', checked: true},
{linefeed: true},
{text: '수영'},
{text: '하키'},
{text: '마라톤'}
]
});