Skip to content

Instantly share code, notes, and snippets.

@nedarb

nedarb/myTest.cmp

Created Apr 3, 2017
Embed
What would you like to do?
Custom Salesforce Lightning for Outlook component
<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>
({
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