Created
March 29, 2017 18:17
-
-
Save mthadley/ddc7b76ee32da16b1de72c0d581bb761 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{namespace MyComponent} | |
{template .render} | |
{@param attributes: attributes} | |
<button {$attributes}>Hello World</button> | |
{/template} | |
/* Caller Side */ | |
{call MyComponent.render} | |
{param attributes kind="attributes"} | |
disabled="true" | |
type="submit" | |
{/param} | |
{/call} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment