我正在使用dhtmlxScheduler和angular js。 我在复选框中插入了ng-model属性,并选择了dhtmlxScheduler的灯箱元素 - ng-model =" isallday"。
link:function($scope, $element, $attrs, ...) {
...
angular.element(document.querySelector( '[name="isallday"]' )).attr('ng-model', 'isallday');
angular.element( document.querySelector( ".dhx_section_time" )
.getElementsByTagName("select") ).attr('ng-class', '{dhx_time_disable: isallday}');
点击复选框不起作用。 我做错了什么?