This docs on this page refers to a PREVIOUS VERSION. For the latest stable release, go to https://docs.bokeh.org/

Archived docs for versions <= 1.0.4 have had to be modified from their original published configuration, and may be missing some features (e.g. source listing)

All users are encourage to update to version 1.1 or later, as soon as they are able.

bokeh.protocol.messages.event — Bokeh 0.12.14 documentation

Source code for bokeh.protocol.messages.event

from __future__ import absolute_import

from ..message import Message
from . import register

@register
[docs]class event_1(Message): ''' Define the ``EVENT`` message (revision 1) for sending events between a Bokeh server and clients. This message is currently only generated by clients. ''' msgtype = 'EVENT' revision = 1
[docs] def notify_event(self, document): ''' ''' document.apply_json_event(self.content)