Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <aura:component implements="flexipage:availableForAllPageTypes,
- flexipage:availableForRecordHome" access="global">
- <aura:attribute name="iframeUrl" type="String" />
- <aura:attribute name="width" type="String" />
- <aura:attribute name="height" type="String" />
- <aura:attribute name="scrolling" type="String" />
- <aura:attribute name="frameBorder" type="String" />
- <aura:attribute name="style" type="String" />
- <aura:attribute name="sandbox" type="String" />
- <iframe src="{!v.iframeUrl}"
- width="{!v.width}"
- height="{!v.height}"
- style="{!v.style}"
- frameBorder="{!v.frameBorder}"
- sandbox="{!v.sandbox}"
- scrolling="{!v.scrolling}"/>
- </aura:component>
- <design:component label="iFrame Component">
- <design:attribute name="iframeUrl" label="Source URL (HTTPS only)" default="https://www.google.com/"/>
- <design:attribute name="width" label="Width" default="100%"/>
- <design:attribute name="height" label="Height" default="500px"/>
- <design:attribute name="style" label="Style" default="border: none; overflow: scroll;"/>
- <design:attribute name="scrolling" label="Scrolling" default="auto"/>
- <design:attribute name="frameBorder" label="Frame Border" default="0"/>
- <design:attribute name="sandbox" label="Frame Border" default="allow-same-origin allow-scripts allow-forms"/>
- </design:component>
Add Comment
Please, Sign In to add comment