I am using angular-ui for sortable using ui-sortable directive. Is it possible to dynamically enable/disable sortable functionality based on the scope state? So I need to have a
HTML
JS vm.groupSortable = { connectWith: ".group-container", disabled: true }; vm.disableDragAndDrop = function(bVar) { vm.groupSortable.disabled = bVar; }; 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
JS
vm.groupSortable = { connectWith: ".group-container", disabled: true }; vm.disableDragAndDrop = function(bVar) { vm.groupSortable.disabled = bVar; };