<div data-reactroot="" class="loading-spinner"></div>
<div class="slider">
....
</div>
<script>
$(document).ready(function(){
$('.slider').bxSlider({
onSliderLoad: function(){
$('.loading-spinner').hide();
$('.slider').show();
},
auto: true,
slideWidth: 163,
moveSlides: 3,
minSlides: 6,
maxSlides: 6,
slideMargin: 10,
touchEnabled: false,
pager: false,
nextText: '',
prevText: '',
});
});
</script>