I'd like to add something to my `.jupyter/custom/custom.js` so that the toolbar and header are hidden by default. I was trying to figure out what actually happens when you click on the View > Toggle Header menubar item, without much success. It seems that all of these commands in the console do what I want:
- Jupyter.actions.call('jupyter-notebook:toggle-toolbar')
- Jupyter.toolbar.actions.call('jupyter-notebook:toggle-toolbar')
- Jupyter.toolbar.toggle()
Is one of these preferred? How would I accomplish this for the header as well? What actually happens when I click the item in the View menu?
Thanks for any suggestions!
– Daniel