darsain / sly

JavaScript library for one-directional scrolling with item based navigation support.
http://darsa.in/sly
2.87k stars 497 forks source link

adding dontAlign as a an option #262

Closed brianbrennan closed 1 year ago

brianbrennan commented 8 years ago

The company I work for is currently using your wonderful library for a project. We found that we needed the functionality for the carousel we made using this library needed the 'dontAlign' functionality that you had added into the code, but not into the docs. This PR updates this, and allows the option 'dontAlign' to be added to the o variable in construction, thus allowing for this don't align property and the functionality we needed.

This PR is simply for other people who might have similar needs as we did, and to ensure we aren't forked for future releases.

zxc1092 commented 7 years ago

I'm with the same issue and need the dontAlign Option