Select Scope
interface SelectScope
Маркерный интерфейс для области видимости компонента Select. Используется для ограничения области видимости триггера.
Functions
Link copied to clipboard
fun SelectScope.SelectButton(label: String, modifier: Modifier = Modifier, style: ButtonStyle = LocalButtonStyle.current, spacing: ButtonSpacing = ButtonSpacing.SpaceBetween, enabled: Boolean = true, readonly: Boolean = false, startIcon: Int?, iconOpened: Int?, iconClosed: Int?, onClickLabel: String? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }): <Error class: unknown class>
fun SelectScope.SelectButton(label: String, modifier: Modifier = Modifier, style: ButtonStyle = LocalButtonStyle.current, spacing: ButtonSpacing = ButtonSpacing.SpaceBetween, enabled: Boolean = true, readonly: Boolean = false, startIcon: ImageSource? = null, iconOpened: ImageSource? = null, iconClosed: ImageSource? = null, onClickLabel: String? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Компонент кнопки для выбора, предназначенный для использования внутри SelectScope. Отображает выбранное значение и управляет состоянием открытия/закрытия селектора.
Link copied to clipboard
fun SelectScope.SelectTextField(modifier: Modifier = Modifier, style: TextFieldStyle = LocalTextFieldStyle.current, value: TextFieldValue, iconOpened: Int?, iconClosed: Int?, readOnly: Boolean = false, enabled: Boolean = false, placeholderText: String? = null, labelText: String? = null, captionText: String? = null, counterText: String? = null, optionalText: String? = null, prefix: String? = null, suffix: String? = null, startContent: @Composable () -> Unit? = null, chipsContent: @Composable () -> Unit? = null, focusSelectorSettings: FocusSelectorSettings = LocalFocusSelectorSettings.current, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }): <Error class: unknown class>
fun SelectScope.SelectTextField(value: String, modifier: Modifier = Modifier, style: TextFieldStyle = LocalTextFieldStyle.current, iconOpened: Int?, iconClosed: Int?, readOnly: Boolean = false, enabled: Boolean = false, placeholderText: String? = null, labelText: String? = null, captionText: String? = null, counterText: String? = null, optionalText: String? = null, prefix: String? = null, suffix: String? = null, startContent: @Composable () -> Unit? = null, chipsContent: @Composable () -> Unit? = null, focusSelectorSettings: FocusSelectorSettings = LocalFocusSelectorSettings.current, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }): <Error class: unknown class>
fun SelectScope.SelectTextField(modifier: Modifier = Modifier, style: TextFieldStyle = LocalTextFieldStyle.current, value: TextFieldValue, iconOpened: ImageSource? = null, iconClosed: ImageSource? = null, readOnly: Boolean = false, enabled: Boolean = false, placeholderText: String? = null, labelText: String? = null, captionText: String? = null, counterText: String? = null, optionalText: String? = null, prefix: String? = null, suffix: String? = null, startContent: @Composable () -> Unit? = null, chipsContent: @Composable () -> Unit? = null, focusSelectorSettings: FocusSelectorSettings = LocalFocusSelectorSettings.current, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
fun SelectScope.SelectTextField(value: String, modifier: Modifier = Modifier, style: TextFieldStyle = LocalTextFieldStyle.current, iconOpened: ImageSource? = null, iconClosed: ImageSource? = null, readOnly: Boolean = false, enabled: Boolean = false, placeholderText: String? = null, labelText: String? = null, captionText: String? = null, counterText: String? = null, optionalText: String? = null, prefix: String? = null, suffix: String? = null, startContent: @Composable () -> Unit? = null, chipsContent: @Composable () -> Unit? = null, focusSelectorSettings: FocusSelectorSettings = LocalFocusSelectorSettings.current, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Компонент текстового поля для выбора, предназначенный для использования внутри SelectScope. Упрощенная версия с базовым строковым значением.