[IPython-dev] conflict between d3 keyCode event and IPython notebook
Brian Granger
ellisonbg at gmail.com
Thu Nov 6 11:36:45 EST 2014
You need to call KeyboardManager.register_events(your_element) to
disable our keyboard handling when you element is focused. Have a look
in our source code for how this works...
On Thu, Nov 6, 2014 at 8:12 AM, Lucien Boillod <lucienboillod at gmail.com> wrote:
> Hi all,
>
> a little ping, if someone know how to get around this keycode conflict.
>
> Thank you,
>> Le 4 nov. 2014 à 12:34, Lucien Boillod <lucienboillod at gmail.com> a écrit :
>>
>> Hello all,
>>
>> I have a problem to use keyCode event in D3.js into a notebook, indeed there is some key that are associated with some notebooks actions, that I can’t use in D3.
>> To show clearly my problem I made a simple example. As you can see delete will show the console log, but L will only execute the associate notebook action.
>>
>> Cheers,
>> Lucien
>>
>> <keycode example.ipynb>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
More information about the IPython-dev
mailing list