Skip to content

Releases: kenwheeler/slick

1.5.2

24 Apr 11:50
Compare
Choose a tag to compare

Somebody forgot to rebaaaaaaase.

Serious though, adding back in the fixes for autoplay.

Also replacing the use of .bind with $.proxy, because IE8

Thanks guys!

1.5.1

23 Apr 19:14
Compare
Choose a tag to compare

Emergency hotfix release for my boy Sam

  • Fixes issue with dot counts
  • Fixes responsive options killing events
  • Fixes autoplay hover triggers
  • visibility bug

1.5.0

04 Apr 19:36
Compare
Choose a tag to compare

Well, you asked for it enough, now you have it.

  • Vertical swiping. Thats right, VERTICAL SWIPING, via the verticalSwiping option. Use it responsibly.
  • Grid mode. Yup. Grid mode. Use the rows option to specify rows and slidesPerRow to set how many slides per row
  • Bug Fixes
  • data-attr setting slick instances aren't automatically initialized anymore. It presented a security vulnerability.

1.4.1

06 Feb 16:00
Compare
Choose a tag to compare

Bug Fixes

1.4 - BREAKING CHANGES (Please read)

29 Jan 04:24
Compare
Choose a tag to compare

Whats up guys! Sorry I took a month off there for the holidays. I wanted to make it up to you, so lets check out whats new in Slick 1.4:

Settings

A few new settings have been added:

  • edgeFriction - This is an integer value for non-infinite carousels that adds resistance to edge drags. If you don't want resistance, set it to 1.
  • mobileFirst - When set to true, this setting makes your responsive breakpoints evaluate mobile first.
  • responsive - The responsive setting has been updated to accept a string value of "unslick" for the settings portion of a breakpoint declaration. This makes slick unslick at the given breakpoint. Note, you can't window shrink this, once you unslick, you are unslicked.
  • slide - The default value of the slide option has been changed to blank. This means that slick will use any direct children as slides, without having to specify which tag or selector to target.

Data Attribute Settings

Slick now has the ability to initialize via a data attribute. Provide a valid json object in the data-slick attribute, and you don't even need to initialize slick, it will initialize and apply the provided settings.

Methods

All methods are now called via the slick method. So you create slick with $.slick(options), but then you can also run $.slick('method', arguments). Check the docs for more detail.

Events

All callback methods are now deprecated. They have been replaced with event triggers. I added a few helpful ones too. So onAfterChange is now:

$('.your-element').on('afterChange', function(){
    // do stuff
});

CSS

slick.css has been forked into two different files. slick.css is now the core functional slick css file, while slick-theme.css and slick-theme.scss are the default styling.

Wrap up

So I've added some cool new shit, and I'm sorry about the breaking changes, but they are absolutely for the better moving forward. Like any set of new features, I'm sure somebody will find the perfect combination of settings to make this thing shit the bed, so I'll make sure I'm around to get 1.4.1 out the door when they do. I'm looking forward to adding some cool new, non-breaking stuff in the near future, so keep your eyes peeled for some optimizations and improvements. Thanks so much!

aww yeah

1.3.15

11 Nov 23:05
Compare
Choose a tag to compare
  • Fixed IE8 regression

1.3.14

09 Nov 12:33
Compare
Choose a tag to compare
  • Added respondTo, giving the ability to respond to slider width or window width, or the smaller of the two
  • Fixed the locked center mode slidesToShow
  • Resolved scrolling issues with uneven slide counts / slides to scroll
  • Removed demo from repo
  • Bumped the speed default to 500
  • Fixed RTL
  • Fixed a lazy load issue
  • Added slickRemoveAll()
  • Added onSetPosition()
  • Fixed IE8 issue with .bind()

1.3.13

27 Oct 19:45
Compare
Choose a tag to compare

Emergency Hotfix for slidesToScroll: 1 and infinite: false

1.3.12

26 Oct 13:00
Compare
Choose a tag to compare
  • Fixing a BUNCH of issues, some of which have been around for a while
  • Added initialSlide option due to popular demand

1.3.11

07 Oct 21:46
Compare
Choose a tag to compare

This is a hotfix. A previous approach to allowing draggability with an image in Firefox and Safari ended up preventing touch users from binding click events to slides. It has been replaced with pointer-events: none.