class platypush.message.event.web.DashboardIframeUpdateEvent(url, width=None, height=None, timeout=None, *args, **kwargs)[source]

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.

__init__(url, width=None, height=None, timeout=None, *args, **kwargs)[source]
  • url (str) – URL to show in the iframe dashboard element
  • width – Iframe width, as int (pixels) or CSS string
  • height – Iframe height, as int (pixels) or CSS string
  • timeout (float) – If set, the iframe will be closed after this time (in seconds)