ion-select-option
选择选项是 Select 的子元素组件。每个定义的选项都会被传递并显示在 Select 对话框中。
🌐 Select Options are components that are child elements of a Select. Each option defined is passed and displayed in the Select dialog.
有关使用示例,请参阅 Select 文档。
🌐 For usage examples, see the Select documentation.
属性
🌐 Properties
disabled
| Description | If true, the user cannot interact with the select option. This property does not apply when interface="action-sheet" as ion-action-sheet does not allow for disabled buttons. |
| Attribute | disabled |
| Type | boolean |
| Default | false |
value
| Description | The text value of the option. |
| Attribute | value |
| Type | any |
| Default | undefined |
事件
🌐 Events
No events available for this component.
方法
🌐 Methods
No public methods available for this component.
CSS 阴影部分
🌐 CSS Shadow Parts
No CSS shadow parts available for this component.
CSS 自定义属性
🌐 CSS Custom Properties
No CSS custom properties available for this component.
插槽
🌐 Slots
No slots available for this component.