Created
September 6, 2017 10:29
Star
You must be signed in to star a gist
Aurelia Shadow DOM slots (Blog)
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
<require from='./info-card.html'> <!-- import the info-card component --> | |
<info-card> | |
<span slot="header"> | |
<h1>${card1Header}</h1> | |
</span> | |
<span slot="body"> | |
<span>${card1Body}</span> | |
</span> | |
</info-card> | |
<info-card> | |
<span slot="header"> | |
<h1>${card2Header}</h1> | |
</span> | |
<span slot="body"> | |
<span>${card2Body}</span> | |
</span> | |
</info-card> | |
<info-card> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment