You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
620 B
21 lines
620 B
<wxs src="../common/utils.wxs" module="_" />
|
|
|
|
<view style="{{_._style([style, customStyle])}}" class="{{classPrefix}} class {{prefix}}-class" aria-role="radiogroup">
|
|
<slot />
|
|
<block wx:for="{{radioOptions}}" wx:key="value">
|
|
<t-radio
|
|
class="{{prefix}}-radio-option"
|
|
label="{{item.label}}"
|
|
value="{{item.value}}"
|
|
checked="{{item.checked}}"
|
|
data-index="{{index}}"
|
|
data-value="{{item.value}}"
|
|
disabled="{{item.disabled}}"
|
|
placement="{{placement}}"
|
|
icon="{{icon}}"
|
|
borderless="{{borderless}}"
|
|
bind:change="handleRadioChange"
|
|
/>
|
|
</block>
|
|
</view>
|