Handle some TextInput events
This commit is contained in:
parent
63cd0fd8eb
commit
fedcab6f4f
7 changed files with 93 additions and 29 deletions
|
|
@ -13,7 +13,9 @@ pub struct TextInput<'a, Message> {
|
|||
}
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
pub struct State {}
|
||||
pub struct State {
|
||||
pub is_focused: bool,
|
||||
}
|
||||
|
||||
impl<'a, Message> TextInput<'a, Message> {
|
||||
pub fn new<F>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue