Skip to main content
A component to embed an external resource in an iframe.

Fields

NameTypeDescriptionOptions
SourceTextA valid URL-
Referrer PolicyTextDefine which referrer is sent when fetching the resource
  1. no-referrer
  2. no-referrer-when-downgrade
  3. origin
  4. origin-when-cross-origin
  5. same-origin
  6. strict-origin
  7. strict-origin-when-cross-origin
  8. unsafe-url
SeparatorColor--
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.-

Events

Fires when the resource has successfully loaded.
def load_handler(state):

# Sets status message when resource is loaded

state["status"] = "Page loaded"