On 29 January 2018 at 09:20, Thomas Kluyver <[email protected]> wrote:
> If you want to do things in the Javascript, that's a notebook extension > (aka nbextension) rather than a server extension. You might need a > corresponding server extension for your new buttons to talk to (cite2c is > an example of an extension that contains both an nbextension and a server > extension). > > Here's an example of an extension modifying the tree view: > http://jupyter-contrib-nbextensions.readthedocs.io/ > en/latest/nbextensions/tree-filter/readme.html > https://github.com/ipython-contrib/jupyter_contrib_ > nbextensions/blob/master/src/jupyter_contrib_nbextensions/ > nbextensions/tree-filter/index.js > > It works the same way as an nbextension modifying the notebook page, but > you have to make sure it's enabled for the tree view. > > Spot on! Thank you... -- Ian -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAKofB1%2BTqHQy8uEq9OE%3Dy0zVD%2BSkvPDrdGg3%3DPbqa6dwMDFVRA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
