mirror of
https://github.com/Polymer/polymer-starter-kit.git
synced 2025-02-25 18:55:22 -06:00
Fixes #48 - improve data-binding attrib
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user