Angularjs

11-24 898 views

<div id="add" data-id="2" data-name="Google" onclick="onClick(this)">Click Me</div> 

在AngularJS中没用,把this传进去后你会发现你只是获取到了scope

<button id="test" class="button button-balanced pull-right"  ng-click="test($event);" >test</button>
$scope.updateSelection = function($event, id){
    var checkbox = $event.target;
    var action = (checkbox.checked?'add':'remove');
    updateSelected(action,id,checkbox.name);
}

checkbox绑定

http://stackoverflow.com/questions/14514461/how-to-bind-to-list-of-checkbox-values-with-angularjs/14520103#14520103

Number.EPSILON

https://blog.csdn.net/ixygj197875/article/details/79117229

阅读全文

vue.js

https://www.zhihu.com/lives/846356429794336768 http://hcysun.me/2017/03/03/Vue%E6%BA%90%E7%A0%81%E5%AD%A6%E4%B9%A0/ http://www.cnblogs.com/kidney/...

阅读全文

stoplight

API Docs https://api-docs.io/

阅读全文

欢迎留言