Skip to content

Instantly share code, notes, and snippets.

@mariovalney
mariovalney / jquery-slick-filterable.js
Created November 9, 2018 17:54
Filter a Slick carousel when using grid mode (rows).
(function( $ ) {
$.fn.slickFilterable = function( options ) {
/**
* A plugin to create a slick we can filter.
*
* If you are not using Rows you can use slickFilter
* (check documentation) otherwise we can provide a valid filter.
*
* options {