You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using drag check on an angular app and a huge amount of my checkboxes are dynamically generated by angular.
Everytime angular changes a checkbox, my dragcheck events are lost.
How do I keep angular and dragcheck in sync is my basic question?
I'm using dragcheck inside a table which angular popultes..
example
<table>
<tr ng-repeat="x in xs">
<!-- this checkbox is dynamically generated by angular and can change via pagination and other events -->
<td><input type="checkbox"/></td>
</tr>
</table>
The text was updated successfully, but these errors were encountered:
I don't have official angular/React support yet, meaning there's no official way to add and remove checkboxes dynamically.
BUT... that being said. If you call DragCheck.attachEvents([ element1, element2, etc. ]) manually with whatever items have been added, then it should work in theory (have not tried it myself). One way to do so is using the MutationObserver API but take note of the browser support.
Is there any way to use dragcheck with jquery on function?
http://api.jquery.com/on/
I'm using drag check on an angular app and a huge amount of my checkboxes are dynamically generated by angular.
Everytime angular changes a checkbox, my dragcheck events are lost.
How do I keep angular and dragcheck in sync is my basic question?
I'm using dragcheck inside a table which angular popultes..
example
The text was updated successfully, but these errors were encountered: