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 | |
focused | < Whether the input is hovered by the mouse. |
is_placeholder | < Whether the input is focused by the user. |
Public Attributes
element
cpp
Element element;hovered
cpp
bool hovered;focused
cpp
bool focused;< Whether the input is hovered by the mouse.
is_placeholder
cpp
bool is_placeholder;< Whether the input is focused by the user.