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
vartemplater=userList.templater;templater.clear=jQuery.noop;// relying on `show`/`hide` insteadtemplater.show=function(item){jQuery(item.elm).slideDown();};templater.hide=function(item){jQuery(item.elm).slideUp();};
However, I'm not sure that's the Right Way™; it feels like a workaround - is there a better way?
(By the way, I was surprised that List.js's default templater erases the list and recreates it from scratch - is there a reason for that?)
The text was updated successfully, but these errors were encountered:
After quite some time digging into List.js's source, I seem to have found a way to add animations when list items are removed/added:
http://codepen.io/anon/pen/KAadF
However, I'm not sure that's the Right Way™; it feels like a workaround - is there a better way?
(By the way, I was surprised that List.js's default templater erases the list and recreates it from scratch - is there a reason for that?)
The text was updated successfully, but these errors were encountered: