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
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: |