Guest User

Untitled

a guest
Jan 16th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. <aura:component implements="flexipage:availableForAllPageTypes,
  2. flexipage:availableForRecordHome" access="global">
  3. <aura:attribute name="iframeUrl" type="String" />
  4. <aura:attribute name="width" type="String" />
  5. <aura:attribute name="height" type="String" />
  6. <aura:attribute name="scrolling" type="String" />
  7. <aura:attribute name="frameBorder" type="String" />
  8. <aura:attribute name="style" type="String" />
  9. <aura:attribute name="sandbox" type="String" />
  10.  
  11. <iframe src="{!v.iframeUrl}"
  12. width="{!v.width}"
  13. height="{!v.height}"
  14. style="{!v.style}"
  15. frameBorder="{!v.frameBorder}"
  16. sandbox="{!v.sandbox}"
  17. scrolling="{!v.scrolling}"/>
  18.  
  19. </aura:component>
  20.  
  21. <design:component label="iFrame Component">
  22. <design:attribute name="iframeUrl" label="Source URL (HTTPS only)" default="https://www.google.com/"/>
  23. <design:attribute name="width" label="Width" default="100%"/>
  24. <design:attribute name="height" label="Height" default="500px"/>
  25. <design:attribute name="style" label="Style" default="border: none; overflow: scroll;"/>
  26. <design:attribute name="scrolling" label="Scrolling" default="auto"/>
  27. <design:attribute name="frameBorder" label="Frame Border" default="0"/>
  28. <design:attribute name="sandbox" label="Frame Border" default="allow-same-origin allow-scripts allow-forms"/>
  29. </design:component>
Add Comment
Please, Sign In to add comment