gleamtea/textinput
A bubble: a single-line text input.
Types
Values
pub fn new(
prompt prompt: String,
placeholder placeholder: String,
) -> TextInput
A text input with the given prompt and placeholder text.
pub fn update(
msg: msg,
input: TextInput,
) -> #(TextInput, gleamtea.Cmd(msg))
Feed a message. Only key messages matter, and only while focused.