The data syncing happens over comm messages with a very simple syncing protocol. Our protocol is documented at https://github.com/jupyter-widgets/ipywidgets/blob/master/packages/schema/messages.md#widget-messaging-protocol-version-2 (version 2 is implemented in ipywidgets 7).
Jason On Fri, Nov 3, 2017 at 10:43 PM Simon Biggs <[email protected]> wrote: > I noticed that declarative widgets achieves data binding and syncing > between JavaScript and the kernel. I believe that ipywidgets achieves the > same thing. > > I have been searching their source code trying to find where exactly they > achieve this, but I as of yet have been unsuccessful. > > I am currently writing a jupyterlab extension in Angular. If I was to be > able to achieve data binding syncing between the python kernel and the > JavaScript that would be absolutely perfect. My WIP extension is over at > https://github.com/SimonBiggs/jupyterlab-form > > Could someone who is familiar with either the ipywidgets or declarative > widgets code bases be able to point me in the direction of where this data > syncing is achieved. That would be absolutely amazing. > > Thank you, > Simon > > -- > 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/1ded5625-1b2a-4d3c-a830-1e7c03405f65%40googlegroups.com > . > 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/CAPDWZHxTiBD-L_vb8Lo7EMjQsDV3Getca5cFUHox%2BRq4fUPGBw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
