ion-select-option

概要(CONTENTS)

Ionic4项目中我们可以使用Ionic4选择框组件ion-select-option对项目进行布局。ion-select-option中有ionic ion-select-option 属性(Properties)等

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

selected

Description

If true, the element is selected.

Attribute selected
Type boolean

value

Description

The text value of the option.

Attribute value
Type any