- fixed a typo in 3.3.2
- fixed the regression issue caused by #146
- fixed blinking expose problem
- changed some DOM structures
- changed CSS specificity to make it simpler
- changed canGoPrev() and canGoNext() logics
next(tripIndex)
now will ignorecanGoNext()
check
- fixed callback scope, all bound to
trip
itself, so you can usethis.next()
API in your tripObject - fixed arrow color for all themes
- added TripConstant model
- added a new theme called
minimalism
- added
tripClass
settings so that users can add extra class on it for more customization works - showed
prev
button even if users are on the first step
- added
data-trip-step
class on trip-block so that devs can do more controls in CSS - added skip button (and skipLabel settings)
- added steps UI (and showSteps settings)
- updated existing styles to make it work better with steps UI
- changed default animation to
fadeIn
- changed themes strucutre to make it neat
- renamed
.trip-progress-wrapper
to.trip-navigation
- moved animations into trip.animation.js
- trip.next(i) now accepts the index to let you jump to different trip
- Fixed wrong configuration in UMD which makes Trip.js can't be used in AMD
- nextClickSelector should not be triggered after trip is stopped
- added
data-trip-expose
option in parser mode
- fixed #142, Added
fadeIn()
/fadeOut()
to animate overlay