Skip to content

Instantly share code, notes, and snippets.

@shrutis22
Last active May 9, 2018 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shrutis22/c04e8797071ae8fa4f272930f91e7271 to your computer and use it in GitHub Desktop.
Save shrutis22/c04e8797071ae8fa4f272930f91e7271 to your computer and use it in GitHub Desktop.
<aura:component implements="lightning:availableForFlowScreens" access="global">
<aura:attribute name="toneAnalyzeResponse" type="string" access="global"></aura:attribute>
<aura:handler name="init" value="{!this}" action="{!c.showEmotion}"></aura:handler>
<aura:attribute name="gifUrl" type="string" access="private"></aura:attribute>
<aura:attribute name="detectedEmotion" type="string" access="private"></aura:attribute>
Detected Image: {!v.detectedEmotion}
<br/>
<img src="{!v.gifUrl}" />
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment