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.
kgdxpr e69712b1d2
'commit'
1 year ago
..
README.en-US.md 'commit' 1 year ago
README.md 'commit' 1 year ago
props.d.ts 'commit' 1 year ago
props.js 'commit' 1 year ago
radio.d.ts 'commit' 1 year ago
radio.js 'commit' 1 year ago
radio.json 'commit' 1 year ago
radio.wxml 'commit' 1 year ago
radio.wxss 'commit' 1 year ago
type.d.ts 'commit' 1 year ago
type.js 'commit' 1 year ago

README.en-US.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

:: BASE_DOC ::

API

Radio Props

name type default description required
placement String left optionsleft/right N
allow-uncheck Boolean false - N
block Boolean true - N
checked Boolean false - N
default-checked Boolean undefined uncontrolled property N
content String / Slot - - N
content-disabled Boolean false - N
disabled Boolean undefined - N
external-classes Array - ['t-class', 't-class-icon', 't-class-label', 't-class-content', 't-class-border'] N
icon String / Array 'circle' Typescript'circle' | 'line' | Array<string> N
label String / Slot - - N
max-content-row Number 5 - N
max-label-row Number 3 - N
name String - - N
value String / Number / Boolean false TypescriptT N

Radio Events

name params description
change (checked: boolean) -

RadioGroup Props

name type default description required
placement String left optionsleft/right N
borderless Boolean false - N
disabled Boolean undefined - N
icon String / Array 'circle' Typescript`'circle' 'line'
keys Object - TypescriptKeysType N
name String - - N
options Array - TypescriptArray<RadioOption> type RadioOption = string | number | RadioOptionObj interface RadioOptionObj { label?: string; value?: string | number; disabled?: boolean }see more ts definition N
value String / Number / Boolean - TypescriptT N
default-value String / Number / Boolean undefined uncontrolled property。TypescriptT N

RadioGroup Events

name params description
change (value: T) -