send

Widget.send(content, buffers=None)[source]

Sends a custom msg to the widget model in the front-end.

Parameters:
  • content (dict) – Content of the message to send.

  • buffers (list of binary buffers) – Binary buffers to send with message