Closed justinDeu closed 2 months ago
AppRouter
is a Component
itself, so how would that work? The new functions can have default implementations that do nothing or should there be another, separate trait that only handles being focus-able that way the AppRouter
doesn't have to worry about itself.
Add hooks to the
Component
trait that will be called when theComponent
gains and loses focus. These should be called inside theAppRouter
on the different key binds which change the focused area.