You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my application, I'd like to have some explanatory text be displayed depending on the selected element in a ListView. However, it seems that no functionality exists to register a callback for this or even access the focused element of a given ListView (focus is private).
I'd be happy to implement this myself and create a PR. I'd add on_select and set_on_select methods to ListView (similar to that of SelectView) and perhaps expose a get_focused(&self) -> usize to get the currently focused element.
Would this be something that you'd be willing to accept?
The text was updated successfully, but these errors were encountered:
In my application, I'd like to have some explanatory text be displayed depending on the selected element in a
ListView
. However, it seems that no functionality exists to register a callback for this or even access the focused element of a givenListView
(focus
is private).I'd be happy to implement this myself and create a PR. I'd add
on_select
andset_on_select
methods toListView
(similar to that ofSelectView
) and perhaps expose aget_focused(&self) -> usize
to get the currently focused element.Would this be something that you'd be willing to accept?
The text was updated successfully, but these errors were encountered: