mixitup counting visible items on initial start after page loading
问题 I am playing with mixitup to sort items. I can count items visible after I press a sort or filter buttons: $('#collection').on('mixEnd', function(e, state){ var countvisible = $("#container> tr[style='']").length; console.log('Sorted! ' + countvisible ); $('#current_count').text(countvisible); }); What I need: get a count of visible items on page load but the `on('mixEnd') does NOT ignite during the initialization of the mixitup on page load. How to do it? I can just use on PageLoad sit some