Skip to content

Instantly share code, notes, and snippets.

View dutchchasman's full-sized avatar

Doug Chasman dutchchasman

  • Salesforce.com
  • New York
View GitHub Profile
@dutchchasman
dutchchasman / externalEventHandlerDemo.app
Last active November 8, 2016 20:26
Publishing arbitrary global methods/properties from Visualforce page to LC
<aura:application extends="ltng:outApp">
<aura:method name="publishImports" action="{!c.publishImports}">
<aura:attribute name="imports" type="Object" />
</aura:method>
<aura:dependency resource="ui:button"/>
</aura:application>