platypush/platypush/message/event/web/__init__.py

17 lines
511 B
Python

from platypush.message.event import Event
class DashboardIframeUpdateEvent(Event):
"""
Deliver a DashboardIframeUpdateEvent if you are using the web dashboard
and you want the connected web clients to show a certain URL in the iframe
modal window for (optionally) a certain time.
"""
def __init__(self, url, width=None, height=None, timeout=None, *args, **kwargs):
super().__init__(url=url, width=width, height=height, timeout=timeout, *args, **kwargs)
# vim:sw=4:ts=4:et: