Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit c986c1c

Browse files
jbdeboerchirayuk
authored andcommitted
chore(example): In the Paper example, make the checkbox less confusing
1 parent 4033415 commit c986c1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/web/paper.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ <h2>paper-checkbox</h2>
4242
<p>AngularDart can listen to these events through the on-* syntax</p>
4343

4444
<div>
45-
<paper-checkbox on-change="curValue = (curValue * 1.02)"></paper-checkbox>
45+
<paper-checkbox on-change="curValue = curValue == 5 ? 2 : curValue == 2 ? 10 : 5"></paper-checkbox>
4646
</div>
47-
<p>Every the value changes, the curValue ({{curValue}}) scope variable is multiplied by 1.02</p>
47+
<p>Every the value changes, the curValue ({{curValue}}) scope variable will update</p>
4848
</body>
4949
</html>

0 commit comments

Comments
 (0)