Solutions
$('a[data-toggle="tab"]').on('shown.bs.tab', function() {
$($(this).attr('href')).find('.slider').slick({
dots: true,
arrows: true
})
}).first().trigger('shown.bs.tab');
Demo
http://jsfiddle.net/vv4j3uz2/7/
Sources
Ayush Shrestha || UI/UX || Front-end || Angular || React || Wordpress
Ayush Shrestha || UI/UX || Front-end || Angular || React || Wordpress
Solutions
$('a[data-toggle="tab"]').on('shown.bs.tab', function() {
$($(this).attr('href')).find('.slider').slick({
dots: true,
arrows: true
})
}).first().trigger('shown.bs.tab');
Demo
http://jsfiddle.net/vv4j3uz2/7/
Sources