Function cosmic::widget::text_input
source ยท pub fn text_input<'a, Message>(
placeholder: impl Into<Cow<'a, str>>,
value: impl Into<Cow<'a, str>>,
) -> TextInput<'a, Message>where
Message: Clone + 'static,
Expand description
Creates a new TextInput
.