Sorry - I was missing a
"`". Jupyter.actions.call('jupyter-notebook:toggle-header') works :)
On Monday, April 24, 2017 at 12:02:44 PM UTC-7, Brian Spiering wrote:
>
> What is the equivalent command to
> "Toggle Header? Jupyter.actions.call('jupyter-notebook:toggle-header)
> doesn't work.
>
> On Friday, February 19, 2016 at 3:35:09 AM UTC-8, takowl wrote:
>>
>> On 19 February 2016 at 01:02, Daniel Grady <[email protected]> wrote:
>>
>>> 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()
>>>
>>>
>> The first two are probably exactly the same, just with different
>> references to the same actions object. Actions are for binding UI elements
>> and keyboard shortcuts to. They probably call the third one internally. For
>> now, I'd guess that the action names are likely to be a bit more stable, so
>> I'd go with that - the JS API is still liable to change.
>>
>> Thomas
>>
>
--
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/2383465b-01ba-4e7e-ad36-d5d7d15c5c52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.