Improve docs for iframe

This commit is contained in:
Reiss Cashmore 2023-10-30 12:25:06 +00:00
parent 09705970ba
commit d9b6fd7b85

View File

@ -2,6 +2,9 @@
title: iFrame title: iFrame
description: Add a custom iFrame Widget description: Add a custom iFrame Widget
--- ---
name
Type: string
Description: Important to allow the iframe to be unique on the page and helps if you would like to target the iframe with a button
src src
Type: string (URL) Type: string (URL)
@ -42,6 +45,7 @@ Description: Allows you to control some of the permissions and functionality tha
```yaml ```yaml
widget: widget:
type: iframe type: iframe
name: myIframe
src: "http://example.com" src: "http://example.com"
sizes: {"xs": '60', "sm": "60", "md": "80", "lg": "80", "xl": "80", "2xl": "80"} sizes: {"xs": '60', "sm": "60", "md": "80", "lg": "80", "xl": "80", "2xl": "80"}
referrerPolicy: "same-origin" referrerPolicy: "same-origin"