Content fade in / fade out

mgibbs189

{{gist file=”gistfile1.html” lang=”html”}}
<script>
(function($) {
$(document).on(‘facetwp-refresh’, function() {
$(‘.facetwp-template’).animate({ opacity: 0 }, 1000);
});
$(document).on(‘facetwp-loaded’, function() {
$(‘.facetwp-template’).animate({ opacity: 1 }, 1000);
});
})(jQuery);
</script>
{{/gist}}