ion-select-option
选择选项是作为选择的子元素的组件。每个定义的选项都会被传递并显示在“选择”对话框中。
¥Select Options are components that are child elements of a Select. Each option defined is passed and displayed in the Select dialog.
有关使用示例,请参阅 选择器 文档。
¥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.