ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

Question: Is there a way to get current cell inside of custom widget code in JupyterLab

Open dmgburg opened this issue 3 years ago • 0 comments

I am trying to make a widget which saves state to cell metadata.

To do it I need to know current cell or to know the cell widget view is attached to.

There is a Jupyter.notebook.get_selected_cell() metho in IPython notebooks, which can be used for it is there any way to do it in JupyterLab right now?

dmgburg avatar Aug 18 '22 13:08 dmgburg