跳到主要内容
版本:v8

选择对话框的选项组件

shadow

选择选项(Select Options)是作为选择框(Select)子元素的组件。每个定义的选项都会被传递并显示在选择对话框中。

关于使用示例,请参阅 Select 的文档。

属性

disabled

DescriptionIf 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.
Attributedisabled
Typeboolean
Defaultfalse

value

DescriptionThe text value of the option.
Attributevalue
Typeany
Defaultundefined

事件

No events available for this component.

方法

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS 自定义属性

No CSS custom properties available for this component.

插槽

No slots available for this component.