ftxui::InputState
cpp
#include <ftxui/component/component_options.hpp>Used to define style for the Input component.
Examples: component/input_style
Summary
| Symbol | Description |
|---|---|
element | |
hovered | Whether the input is hovered by the mouse. |
focused | Whether the input is focused by the user. |
is_placeholder | Whether the input is empty and displaying the placeholder. |
Public Attributes
element
cpp
Element element;hovered
cpp
bool hovered;Whether the input is hovered by the mouse.
focused
cpp
bool focused;Whether the input is focused by the user.
is_placeholder
cpp
bool is_placeholder;Whether the input is empty and displaying the placeholder.