Last active
November 18, 2023 14:09
-
-
Save svierk/195fc9a172d145f0c2b16c5df78ad4f1 to your computer and use it in GitHub Desktop.
XML file for iFrame LWC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<apiVersion>59.0</apiVersion> | |
<isExposed>true</isExposed> | |
<masterLabel>iFrame</masterLabel> | |
<description>Configurable iFrame</description> | |
<targets> | |
<target>lightning__AppPage</target> | |
<target>lightning__HomePage</target> | |
<target>lightning__FlowScreen</target> | |
<target>lightning__RecordPage</target> | |
</targets> | |
<targetConfigs> | |
<targetConfig targets="lightning__AppPage, lightning__FlowScreen, lightning__HomePage, lightning__RecordPage"> | |
<property | |
name="url" | |
label="iFrame URL" | |
type="String" | |
description="Specifies the address of the document to embed in the iframe." | |
/> | |
<property | |
name="height" | |
label="Height" | |
type="String" | |
default="500px" | |
description="Specifies the height of the iframe. Default height is 500 pixels." | |
/> | |
<property | |
name="width" | |
label="Width" | |
type="String" | |
default="100%" | |
description="Specifies the width of an iframe. Default width is 100 percent." | |
/> | |
<property | |
name="sandbox" | |
label="Sandbox" | |
type="String" | |
description="Enables an extra set of restrictions for the content in an iframe." | |
/> | |
</targetConfig> | |
</targetConfigs> | |
</LightningComponentBundle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment