ion-select-option

概要(CONTENTS)

Ionic4项目中我们可以使用Ionic4选择框组件ion-select-option对项目进行布局。

ion-select-option官方文档地址:https://ionicframework.com/docs/api/select-option

SelectOption is a component that is a child element of Select. For more information, see the Select docs.

ion-select-option 属性(Properties)

disabled

Description

If true, the user cannot interact with the select option.

Attribute disabled
Type boolean
Default false

selected

Description

If true, the element is selected.

Attribute selected
Type boolean
Default false

value

Description

The text value of the option.

Attribute value
Type any