i-element / Option / OptionSlots
Interface: OptionSlots
Option.OptionSlots
选项组件的插槽信息
Table of contents
Properties
Properties
default
• Optional
default: (props
: { checked
: boolean
}) => any
默认显示的内容,相当于label属性
Type declaration
▸ (props
): any
Parameters
Name | Type |
---|---|
props | Object |
props.checked | boolean |
Returns
any
prefix
• Optional
prefix: (props
: { checked
: boolean
}) => any
Type declaration
▸ (props
): any
Parameters
Name | Type |
---|---|
props | Object |
props.checked | boolean |
Returns
any
suffix
• Optional
suffix: (props
: { checked
: boolean
}) => any
Type declaration
▸ (props
): any
Parameters
Name | Type |
---|---|
props | Object |
props.checked | boolean |
Returns
any