public class ExposedDropdownMenuAnchorType private constructor(private val name: String)
The type of anchor for an exposed dropdown menu.
Members
Companion
public companion object
Properties
PrimaryNotEditable
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
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
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.