Open bollwyvl opened 1 year ago
Allow for kernels to be notified when data related to a deck changes, such as its current active index, possible indices, scroll position, etc.
This would allow for interesting
jupyterlab_deck.widgets.Deck
ipywidgets.Widget
ipywidgets
ipylab
active_index
possible_directions
slide_type
active_widget
styles
scroll_position
DeckManager
This will be complicated by RTC, which still doesn't have a good story for widget state
Elevator Pitch
Allow for kernels to be notified when data related to a deck changes, such as its current active index, possible indices, scroll position, etc.
Motivation
This would allow for interesting
Design Ideas
jupyterlab_deck.widgets.Deck
, a subclass ofipywidgets.Widget
ipywidgets
and/oripylab
active_index
possible_directions
slide_type
active_widget
styles
scroll_position
(if relevant)DeckManager
This will be complicated by RTC, which still doesn't have a good story for widget state