All Projects → vramana → react-flex-slick

vramana / react-flex-slick

Licence: MIT license
Slick carousel using Flexbox

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-flex-slick

Box
[DEPRECATED] Official, pre-packaged Vagrant Box
Stars: ✭ 197 (+392.5%)
Mutual labels:  deprecated
Angular2 Adminlte
DEPRECATED An Angular 4 version of the AdminLTE theme
Stars: ✭ 239 (+497.5%)
Mutual labels:  deprecated
generator-oraclejet
DEPRECATED Yeoman generator for creating Web and Mobile-hybrid Oracle JET based applications
Stars: ✭ 13 (-67.5%)
Mutual labels:  deprecated
Grunt Recess
[DEPRECATED] Lint and minify CSS and LESS
Stars: ✭ 205 (+412.5%)
Mutual labels:  deprecated
Liteaccordion
A lightweight horizontal accordion plugin for jQuery.
Stars: ✭ 234 (+485%)
Mutual labels:  deprecated
Afterglow
HTML5 video player made easy.
Stars: ✭ 244 (+510%)
Mutual labels:  deprecated
Sketch Toolbox
DEPRECATED: A plugin manager for Sketch.app
Stars: ✭ 2,159 (+5297.5%)
Mutual labels:  deprecated
gradle-common-deps-plugin
Gradle plugin that provides convenience closure for configuring common dependencies
Stars: ✭ 22 (-45%)
Mutual labels:  deprecated
Webview In Coordinatorlayout
Stars: ✭ 238 (+495%)
Mutual labels:  deprecated
Rust Everywhere
SUPERSEDED by https://github.com/japaric/trust
Stars: ✭ 253 (+532.5%)
Mutual labels:  deprecated
Bower Components
[DEPRECATED] Site to discover Bower components
Stars: ✭ 220 (+450%)
Mutual labels:  deprecated
Sphero Ios Sdk
🚫 DEPRECATED: Sphero™ is the amazing robotic ball ( sphero.com ) created by Orbotix, this is the repository for the iOS SDK for Sphero™. Visit dev site for more information:
Stars: ✭ 232 (+480%)
Mutual labels:  deprecated
Deep Assign
[DEPRECATED] Recursive Object.assign()
Stars: ✭ 249 (+522.5%)
Mutual labels:  deprecated
Python Onedrive
Obsolete python/cli module for MS SkyDrive/OneDrive's old API, do not use for new projects
Stars: ✭ 202 (+405%)
Mutual labels:  deprecated
max-safe-integer
ES2015 Number.MAX_SAFE_INTEGER ponyfill
Stars: ✭ 15 (-62.5%)
Mutual labels:  deprecated
Terraintoolsamples
Unity has archived the TerrainToolSamples repository. For future development, please use the Terrain Tools package.
Stars: ✭ 195 (+387.5%)
Mutual labels:  deprecated
Sabayon
DEPRECATED. DO NOT USE.
Stars: ✭ 240 (+500%)
Mutual labels:  deprecated
grunt-git-ftp
DEPRECATED: queries last git commit and FTPs modified files to server
Stars: ✭ 11 (-72.5%)
Mutual labels:  deprecated
commerce-cif-api
Adobe Commerce Integration Framework (CIF) API reference and data model documentation files
Stars: ✭ 18 (-55%)
Mutual labels:  deprecated
Ezpublish Legacy
eZ Publish (aka "legacy kernel" + 3 core "legacy extensions") NOTE: Succeeded by eZ Platform, no further feature releases planned.
Stars: ✭ 251 (+527.5%)
Mutual labels:  deprecated

THIS PROJECT IS NOT MAINTAINED!

React Flex Slick

This is library aims to replace react-slick.

Uses flexbox exclusively, so no support for older browsers 😢 😢

On the bright side, it is extremly flexible. Currently it supports >=react-0.14 including rc's

Any questions?? Join here react-flex-slick on slack

Examples

To run the examples:

  1. git clone http://github.com/vramana/react-flex-slick
  2. cd react-flex-slick && npm i
  3. npm start

What works

  • Infinite and Non-infinite Mode
  • Pages
  • Horizontal and Vertical Sliding
  • Multiple Slides per page (slidesToScroll = slidesToShow)
  • Left and Right Arrows to go back and forth
  • Arrows have active and inactive classes.
  • Custom Arrows
  • Touch Scrolling/Mouse Dragging
  • Edge Friction

TODO

Comparision with Slick

Settings

  • cssEase - renamed to transitionTimingFn
  • speed - renamed to transitionSpeed
  • easing - Not supported: Minimum browser support ensure CSS Transistions are present.
  • arrows - Alternate way: Instead of arrows pass empty <div> to the Slider
  • appendArrows, appendDots - Not supported due the architecture of component
  • mobileFirst - Alternate way: Control the size of Slider just usign css on the parent class
  • prevArrow, nextArrow - Alternate way: Just put a ref on prevArrow and nextArrow
  • infinite - works as expected
  • initialSlide - works as expected
  • rows - Alternate way: Pass pages of slides instead of slides
  • slidesPerRow - Alternate Way: Pass pages of slides instead of slides
  • vertical - works as expected
  • swipe, verticalSwiping - merged into swipe - works as expected
  • touchMove - works as expected
  • draggable - works as expected
  • edgeFriction - works as expected
  • touchThreshold - fraction by which you should slide for slide to change - lies between 0 and 1
  • autoPlay, autoPlaySpeed - works as expected. Bonus: If the mounted component with autoPlay recieve autoPlay={false} then it will pause the slider.
  • zIndex - Not supported: No support for IE 9 itself requires atleast IE11
  • centerPadding - Alternate way: Use css on pages to manipulate this
  • customPaging - Alternate way: Just pass your slides in pages whatever way you want
  • waitForAnimate - This is the default behaviour of current slider. Otherwise behaviour is not implemented yet.
  • useCSS - Not supported: We don't have to fallback for jQuery animations for ancient browsers because we dont support them in first place.
  • dots, dotClass - works almost as expected. Instead of dotClass on slider give it as className in the Dots component

Remaining: slidesToShow, slidesToScroll, accessibility, rtl, pauseOnHover, pauseOnDotsHover, responsive, swipeToSlide, slide, variableWidth, centerMode, fade, lazyLoad, respondTo

Progress - Total: 43 Current: 29

Events

  • beforeChange - beforeChange(prevSlide, currSlide) but doesn't have the event handler
  • afterChange - afterChange(prevSlide, currSlide) but doesn't have the event handler
  • swipeEvent - swipeEvent(direction) but doesn't have the event handler
  • edgeEvent - edgeEvent(direction) but doesn't have the event handler
  • init, reInit - Alternate way: Can be invoke in parent components lifecycle methods.
  • destroy - Alternate way: Can be invoke in parent components lifecycle methods when the slider is taken out of the render tree.
  • setPosition - Not positions are calculated from the DOM. So, doesn't make sense.
  • breakpoint - Not implemented yet

Progress - Total: 9 Current: 8

Methods

No slick method will be supported because they encourage anti-patterns in react i.e, changing the state of child component via a parent component directly or indirectly using setState. You can add all this by passing props to the Slider component. Detailed examples will be written showing how.

Inspiration

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].