【发布时间】:2016-10-12 18:04:46
【问题描述】:
我正在使用angular-bootstrap-checkbox,如下所示:
HTML
<checkbox class="checkbox" ng-model="manualPosition"></checkbox>
我想观察复选框值的变化。
JS
$scope.$watch('manualPosition', function(manualPosition) {
console.log('here');
});
这对我不起作用。
【问题讨论】: