showcase: ui feedback for on_enter() and on_leave() handler
@@ -63,6 +63,12 @@ impl Template for ButtonView {
Button::new()
.text("Button")
.icon(material_icons_font::MD_CHECK)
+ .on_enter(|_, _| {
+ println!("Enter Button boundries");
+ })
+ .on_leave(|_, _| {
+ println!("Leave Button boundries");
+ })
.build(ctx),
)
.child(
