-
-
Save jeffdonthemic/947c91549efcaf295ee6 to your computer and use it in GitHub Desktop.
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 > | |
<aura:attribute name="DayOfTheWeek" type="String"/> | |
<aura:if isTrue="{!v.DayOfTheWeek == 'Monday'}"> | |
Today is Monday | |
</aura:if> | |
<aura:if isTrue="{!v.DayOfTheWeek == 'Tuesday'}"> | |
Today is Tuesday | |
</aura:if> | |
<aura:if isTrue="{!v.DayOfTheWeek == 'Wednesday'}"> | |
Today is Wednesday | |
</aura:if> | |
<aura:if isTrue="{!v.DayOfTheWeek == 'Thursday'}"> | |
Today is Thursday | |
</aura:if> | |
<aura:if isTrue="{!v.DayOfTheWeek == 'Friday'}"> | |
Today is Friday | |
</aura:if> | |
<aura:if isTrue="{!v.DayOfTheWeek == 'Saturday'}"> | |
Today is Saturday | |
</aura:if> | |
<aura:if isTrue="{!v.DayOfTheWeek == 'Sunday'}"> | |
Today is Sunday | |
</aura:if> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment