Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View rsussland's full-sized avatar

Robert Sussland rsussland

  • Salesforce.com
  • Arizona
View GitHub Profile
@rsussland
rsussland / foo.app
Last active February 24, 2016 10:35
contract violation example
App:
<aura:application >
<aura:attribute name="display" type="Boolean" default="true"/>
<ui:button aura:id="button" label="Click to toggle" press="{!c.toggle}"/>
<aura:renderif isTrue="{!v.display}">
Here's some text!
<aura:set attribute="else">
Here's a react component: