Wip swipeable tabs #4075

Merged
merged 7 commits into from Jan 9, 2017

Projects

None yet

2 participants

@acburst
Collaborator
acburst commented Jan 5, 2017 edited

Fixes #1943, #3687, #487

acburst added some commits Nov 10, 2016
@acburst acburst wrap tabs-content and initialize carousel 1341e01
@acburst acburst added callbacks to carousel and tied tab triggers to carousel 5adccdb
@acburst acburst Fixed click triggering cycleTo callback bug 76bf467
@acburst acburst Merge branch 'master' into WIP-swipeable-tabs
6c2c512
@acburst acburst compiled bin
592541c
@acburst acburst Added documentation for swipeable tabs
3ed1604
js/tabs.js
+ noWrap: true,
+ onCycleTo: function(item) {
+ if (!clicked) {
+ console.log(item, $tabs_wrapper);
@Dogfalo
Dogfalo Jan 6, 2017 Owner

Remove log

js/tabs.js
+ var prev_index = index;
+ index = $tabs_wrapper.index(item);
+ $active = $links.eq(index);
+ console.log(prev_index, index);
@Dogfalo
Dogfalo Jan 6, 2017 Owner

Remove log

@acburst acburst Removed console logs and changed responsiveThreshold to infinity by d…
…efault
347b93f
@acburst acburst merged commit 5b1ff30 into master Jan 9, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@rotoxl rotoxl referenced this pull request Jan 9, 2017
Closed

Swipe tabs #1943

@acburst acburst deleted the WIP-swipeable-tabs branch Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment