IFrame - Writer AI Studio
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
A component to embed an external resource in an iframe.
Fields
| Name | Type | Description | Options |
|---|---|---|---|
| Source | Text | A valid URL | - |
| Referrer Policy | Text | Define 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 |
| Separator | Color | - | - |
| Custom CSS classes | Text | CSS classes, separated by spaces. You can define classes in custom stylesheets. | - |
Events
wf-load
Fires when the resource has successfully loaded.
def load_handler(state):
# Sets status message when resource is loaded
state["status"] = "Page loaded"