[IPython-dev] ipython notebook "current cell changed signal"

Trémouilles David david.trem at gmail.com
Tue Aug 26 15:15:23 EDT 2014


In the IPython notebook, I would like to trigger a javascript
function when the notebook currently selected cell changes.

I have found this kind of solution:

$([IPython.events]).on('select.Cell', function (event, data) {

However it only works when the cell is changed by clicking on
another one but not when navigating with the up and down arrow key...
Is there any simple solution to trigger a javascript function
whenever the selected cell changes ?

(I'm using the current ipython github repo head.)

Thanks in advance,


More information about the IPython-dev mailing list