Blocks-Backend-Events#844
Conversation
- all events are implemented
|
@farukozderim I think |
|
I agree with @pngwn, tab change could be a useful event to track. @farukozderim since My only additional suggestion here is to have more descriptive docstrings for the event triggers of. Instead : Otherwise, LGTM. |
| def set_event_trigger( | ||
| self, | ||
| event_name: str, | ||
| fn: str, |
There was a problem hiding this comment.
Type of fn should be Callable (here and below)
|
I wanted to clarify meaning of tabs event below, but now it is clarified! |
- refactor fn: str -> Callable
- add change event to TabItem
Small clarification, this event is supposed to be triggered when the If the idea is that this trigger should be called any time that the selected tab changes, then |
- add change event to Tabs
|
Ready to merge! |
All events are implemented except
Tabs.Tabsis not a component in backend.Closes #723