Fixes #48 - improve data-binding attrib

This commit is contained in:
Addy Osmani
2015-05-29 06:23:55 -07:00
parent e9400c8911
commit 3a3e7900ca

View File

@@ -23,8 +23,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<template>
<h1 class="paper-font-display1"><span>{{greeting}}</span>, <span>{{greeting}}</span>!</h1>
<span class="paper-font-body2">Update text to change the greeting.</span>
<!-- Listens for "change" event and sets greeting to <input>.value -->
<input class="paper-font-body2" value="{{greeting::change}}">
<!-- Listens for "input" event and sets greeting to <input>.value -->
<input class="paper-font-body2" value="{{greeting::input}}">
</template>
</dom-module>
<script>