option
When used as a child component of <select>, the <option> component is used to display items in the drop-down list.
When used as a child component of <menu>, the <option> component is used to display items in the displayed menu.
Permission List
None
Child Component
Not supported
Attribute
Event
Not supported
Style
The following style attributes are supported.
Whether the font size changes with the system's font size settings. |
||||
Font weight. For details, see font-weight of the text component. |
||||
Text decoration. For details, see text-decoration of the text component. |
||||
Font family, in which fonts are separated by commas (,). Each font is set using a font name or font family name. The first font in the family or the font specified by Custom Font Styles is used for the text. |