Interactive
Make any node hoverable, pressable, and focusable.
GUITUIRuns in the browser
interactivePreview
Usage example
fn interactive_demo() -> InteractiveBuilder { interactive( container() .layout(LayoutStyle::flex_column().fill_width()) .child(text("Interactive row").nowrap().font_size(14.0)), ) .focusable(true) .rounded(Radius::Md)}fn interactive_demo()-> InteractiveBuilder { interactive( container() .layout( LayoutStyle::flex_column() .fill_width(), ) .child( text("Interactive row") .nowrap() .font_size(14.0), ), ) .focusable(true) .rounded(Radius::Md)}States

Default
Hover
Pressed
Focused
Disabled
API
| Name | Signature | Purpose |
|---|---|---|
interactive | fn interactive(inner: NodeBuilder) -> InteractiveBuilder | Make any node hoverable, pressable, and focusable. |