Created
June 5, 2017 16:25
-
-
Save mshanemc/d8574856dafd5598261e86af5646024d to your computer and use it in GitHub Desktop.
This file contains 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
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" > | |
<aura:attribute name="imgUrl" type="string" required="true" default="https://farm8.staticflickr.com/7683/17369785125_efca0c32ec_o.jpg"/> | |
<img src="{!v.imgUrl}" /> | |
</aura:component> |
This file contains 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
img.THIS { | |
width:100%; | |
} |
This file contains 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
<design:component > | |
<design:attribute name="imgUrl" label="Image Url" description="url for where the image lives"/> | |
</design:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment