May I ask what keypresses do you want to trigger, and why? Since keyboard
shortcuts are customizable, triggering a keypress in command mode can take
an arbitrarily different action from the default behavior, so perhaps
calling the js APIs that those keypresses correspond to is the right
approach, rather than triggering events that may or may not do what you
want.

-MinRK

On Fri, Aug 5, 2016 at 11:13 PM, Christopher Brooks <[email protected]>
wrote:

> Hi,
>
> I'm looking to interact with the jupyter notebook pages in javascript,
> largely to do things like send key commands. I've spent a bit of time going
> through the variety of bindings, but I can't see where I could actually
> raise a keypress/keydown event such that it would trigger
> KeyboardManager.prototype.bind_events.
>
> Any hints on where I should be looking? My javascript's gotten a bit rusty
> :)
>
> Chris
>
> --
> 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/2cdbafa4-7fb4-47bf-89d9-02b1e6bb9549%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/2cdbafa4-7fb4-47bf-89d9-02b1e6bb9549%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAHNn8BWmWVrNSG0yMD8wO01fcFL1-Dx2RW-G4JCvST-F5abZBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to