Created
April 3, 2017 20:26
-
-
Save nedarb/315464ae529ebad4c85280461b6b4fe9 to your computer and use it in GitHub Desktop.
Custom Salesforce Lightning for Outlook 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
<aura:component implements="clients:availableForMailAppAppPage,clients:hasItemContext"> | |
<div> | |
Subject:{!v.subject}<br/> | |
<ui:button label="Click" press="{!c.myAction}"/> | |
Body: {!v.messageBody} | |
</div> | |
</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
({ | |
myAction : function(component, event, helper) { | |
console.log(component.get("v.messageBody")); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment