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

Commit

Permalink
chore(example): In the Paper example, make the checkbox less confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
jbdeboer committed Jul 30, 2014
1 parent d56d8c3 commit 0b6a992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/web/paper.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ <h2>paper-checkbox</h2>
<p>AngularDart can listen to these events through the on-* syntax</p>

<div>
<paper-checkbox on-change="curValue = (curValue * 1.02)"></paper-checkbox>
<paper-checkbox on-change="curValue = curValue == 5 ? 2 : curValue == 2 ? 10 : 5"></paper-checkbox>
</div>
<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>
</body>
</html>

0 comments on commit 0b6a992

Please sign in to comment.