ExposedDropdownMenuAnchorType


The type of anchor for an exposed dropdown menu.

Summary

Public companion properties

ExposedDropdownMenuAnchorType

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

Cmn
ExposedDropdownMenuAnchorType

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

Cmn
ExposedDropdownMenuAnchorType

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

Cmn

Public functions

open String
Cmn

Public companion properties

PrimaryEditable

val PrimaryEditableExposedDropdownMenuAnchorType

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.

PrimaryNotEditable

val PrimaryNotEditableExposedDropdownMenuAnchorType

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.

SecondaryEditable

val SecondaryEditableExposedDropdownMenuAnchorType

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.

Public functions

toString

open fun toString(): String