mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-15 23:48:15 +08:00
Implement Input::on_change.
This commit is contained in:
@@ -20,8 +20,8 @@ class Input : public Component {
|
||||
std::wstring placeholder;
|
||||
|
||||
// State update callback.
|
||||
std::function<void()> on_change = []() {};
|
||||
std::function<void()> on_enter = []() {};
|
||||
std::function<void()> on_change = [] {};
|
||||
std::function<void()> on_enter = [] {};
|
||||
|
||||
// Component implementation.
|
||||
Element Render() override;
|
||||
|
Reference in New Issue
Block a user