Skip to content

Latest commit

 

History

243 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swipe JS Vertical

Warning. It is not the original release of Swipe JS by Brad Birdsall. This version handles vertical swipe. About the API, config options, params, browser support,... please, check out the original project.

Set Up

The only difference for using Swipe JS Vertical is that you must define a height for your container. You can do it in CSS files or in your JavaScript code.

.swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
  height: @myHeight px; /* <-- Mandatory */
}
.swipe-wrap {
  overflow: hidden;
  position: relative;
}
.swipe-wrap > div {
  float:left;
  width:100%;
  position: relative;
}

Other settings (HTML, JS,...) are still the same.

About

Fork of https://github.com/frederickk/SwipeVertical

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages