Last active
August 29, 2015 14:11
-
-
Save tyoshikawa1106/601b2efde30b1d972b07 to your computer and use it in GitHub Desktop.
How to Lightning Components - Part 2: BootstrapSF1 Sample
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:application> | |
<link rel="stylesheet" href="/resource/BootstrapSF1/dist/css/bootstrap.css" /> | |
<link rel="stylesheet" href="/resource/BootstrapSF1/dist/css/docs.min.css" /> | |
<script type="text/javascript" src="/resource/jQuery" /> | |
<script type="text/javascript" src="/resource/BootstrapSF1/dist/js/bootstrap.min.js" /> | |
<script type="text/javascript" src="/resource/BootstrapSF1/js/docs.js" /> | |
<!-- Header Component --> | |
<devjp:LightningBootstrapSF1Header header="How to Lightning Component" detail="- Sample Application -" /> | |
<!-- Cards Component --> | |
<devjp:LightningBootstrapSF1Cards header="Cards Component" detail="Hello World!!" /> | |
</aura:application> |
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="header" type="String" /> | |
<aura:attribute name="detail" type="String" /> | |
<div class="page-header page-header-anchor"> | |
<h1>{!v.header}</h1> | |
<p>{!v.detail}</p> | |
</div> | |
</aura:component> |
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="header" type="String" /> | |
<aura:attribute name="detail" type="String" /> | |
<div class="card"> | |
<div class="card-heading"> | |
{!v.header} | |
</div> | |
<div class="card-detail"> | |
{!v.detail} | |
</div> | |
</div> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment