Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Aurelia code quality - part 6
<li repeat.for="greeting of greetings">
<!-- add default two-way binding to a new greeting property -->
<input placeholder="add greeting" value.bind="greeting">
<!-- delegate the button click the the addGreeting method -->
<button click.delegate="addGreeting()"></button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment