Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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