🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

ExposedDropdownMenuAnchorType

The type of anchor for an exposed dropdown menu.

Source set: Common
public class ExposedDropdownMenuAnchorType private constructor(private val name: String)

The type of anchor for an exposed dropdown menu.

Members

Companion

Source set: Common
public companion object

Properties

PrimaryNotEditable

Source set: Common
public val PrimaryNotEditable: ExposedDropdownMenuAnchorType

A non-editable primary anchor of the dropdown menu, such as a read-only text field.

When this anchor opens the menu, focus will move to the menu.

PrimaryEditable

Source set: Common
public val PrimaryEditable: ExposedDropdownMenuAnchorType

An editable primary anchor of the dropdown menu, such as a text field that allows user input.

When this anchor opens the menu, focus will remain on the text field in order to allow typing.

SecondaryEditable

Source set: Common
public val SecondaryEditable: ExposedDropdownMenuAnchorType

A secondary anchor of the dropdown menu that lives alongside an editable primary anchor, such as an icon within an editable text field.

When this anchor opens the menu, if accessibility services are enabled, focus will move to the menu. Otherwise, focus will remain on the text field in order to allow typing.

Content updated: