mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
draft multiline input
This commit is contained in:
parent
d1c8afd83f
commit
1972438da6
9 changed files with 115 additions and 42 deletions
|
|
@ -26,8 +26,8 @@ impl Input {
|
|||
}
|
||||
|
||||
// Actions
|
||||
pub fn show(&self, placeholder: &str, sensitive: bool) {
|
||||
self.content.set(placeholder, sensitive);
|
||||
pub fn show(&self, title: Option<&str>) {
|
||||
self.content.set(title);
|
||||
self.widget.show(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue