We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d56d8c3 commit 0b6a992Copy full SHA for 0b6a992
example/web/paper.html
@@ -42,8 +42,8 @@ <h2>paper-checkbox</h2>
42
<p>AngularDart can listen to these events through the on-* syntax</p>
43
44
<div>
45
- <paper-checkbox on-change="curValue = (curValue * 1.02)"></paper-checkbox>
+ <paper-checkbox on-change="curValue = curValue == 5 ? 2 : curValue == 2 ? 10 : 5"></paper-checkbox>
46
</div>
47
- <p>Every the value changes, the curValue ({{curValue}}) scope variable is multiplied by 1.02</p>
+ <p>Every the value changes, the curValue ({{curValue}}) scope variable will update</p>
48
</body>
49
</html>
0 commit comments