4 ms·
You must like bloating your project with pages of trivial javascript accomplishing trivial functionality. I really don't want basic stuff in my application log
by tlarkworthy 14y ago
You must like bloating your project with pages of trivial javascript accomplishing trivial functionality.
I really don't want basic stuff in my application logic.
Allowing users to flip arbitrary booleans is a bit like declaring a public variable though. You can of course make them go through a setter if you prefer encapsulation.
<input type="checkbox" ng-click="setDone($event.target.checked)">