aboutsummaryrefslogtreecommitdiff
path: root/js/src/carousel.js
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Bump to v4.2.1 (#27892)v4.2.1Mark Otto1-2/+2
2018-12-21Prep for v4.2.0 releaseMark Otto1-2/+2
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-11-14some cleaning and changes for readabilityJohann-S1-5/+2
2018-11-04Replace touch-action: none with pan-y, remove preventDefault from touch ↵patrickhlauke1-3/+0
event handling
2018-10-29add unit tests for our carouselJohann-S1-9/+6
2018-10-20avoid drag imgJohann-S1-0/+3
2018-10-20Refactor (and correct) start/move/end functionspatrickhlauke1-17/+13
in particular, no need to use originEvent, and preventDefault() only needed for touch events
2018-10-20Remove unnecessary pointer event listenerspatrickhlauke1-2/+0
these may also be the cause of weird behavior in Chrome/Surface, where scrolling vertically triggers slide advance
2018-10-20Abandon swipe altogether if more than one touch detectedpatrickhlauke1-3/+4
2018-10-20use pointer events if availableJohann-S1-19/+58
2018-10-20swipe left/right without hammerjsJohann-S1-34/+66
2018-10-20Add touch support in our carousel with HammerJS.Johann-S1-17/+37
2018-09-26remove useless iifeJohann-S1-412/+408
2018-09-18feature(carousel): carousel-item interval (#26667)Christopher Morrissey1-0/+8
adds the ability to assign data-interval to an individual carousel-item
2018-08-12Use ES6 arrow function.XhmikosR1-1/+1
2018-07-24Ship v4.1.3v4.1.3Mark Otto1-2/+2
2018-07-12Ship v4.1.2Mark Otto1-2/+2
2018-06-03refactor(plugins): query elements without jqueryJohann-S1-8/+10
2018-06-01refactor(plugins): improve how we query elementsJohann-S1-3/+4
2018-04-30Bump version to v4.1.1v4.1.1Mark Otto1-2/+2
2018-04-09Ship v4.1.0 (#26218)v4.1.0Mark Otto1-2/+2
* update docs path from docs/4.0/ to docs/4.1/ * bump version to 4.1.0 * Update redirects to work for 4.1 docs move * Update docs version switcher to include latest and link to 4.0 docs * re-run dist * Update package-lock.json * Update docs-navbar.html
2018-03-20Use transitionEnd in QUnit since we moved away from PhantomJSJohann-S1-4/+2
2018-03-13Variable transition durations (#25662)Martijn Cuppens1-31/+12
2018-02-19Fix carousel transition duration (#25218)Martijn Cuppens1-20/+40
2018-01-18Bump version to 4.0.0Mark Otto1-2/+2
2018-01-11Comply to the new rules.XhmikosR1-33/+15
2017-12-28Update version to 4.0.0-beta.3v4.0.0-beta.3Mark Otto1-2/+2
2017-11-13Object spread : less jQuery more ES6 (#24665)Johann-S1-4/+16
2017-10-24Change Rollup config to wrap our dist files with jQuery instead of $Johann-S1-2/+2
2017-10-23Add `Util.jQuery` which will detect jQuery instead of relying on global `$` ↵Johann-S1-1/+1
(#24513)
2017-10-19fix version numberMark Otto1-2/+2
2017-10-19new version numberMark Otto1-2/+2
2017-10-04Use imported jQuery objectJohann-S1-1/+1
2017-08-31Create a bundled release of Bootstrap with Popper.js insideJohann-S1-1/+2
2017-08-23Tweak ESLint rules.XhmikosR1-1/+1
2017-08-18Update devDependencies and fix a typo in comment. (#23534)XhmikosR1-1/+1
2017-08-17Carousel - do not call next when the carousel or the parent isn't visibleJohann-S1-1/+3
2017-08-10bump to betav4.0.0-betaMark Otto1-2/+2
2017-04-17Fix carousel "hover" behavior on touch-enabled devicesPatrick H. Lauke1-11/+30
* Add carousel mouse listeners even if touch events enabled - touch events are enabled not just on "mobile", just also on touch-enabled desktop/laptop devices; additionally, it's possible to pair a mouse with traditionally touch-only devices (e.g. Android phones/tablets); currently, in these situations the carousel WON'T pause even when using a mouse * Restart cycle after touchend as `mouseenter` is fired as part of the touch compatibility events, the previous change results in carousels which cycle until the user tapped/interacted with them. after that they stop cycling (as `mouseleave` is not sent to the carousel after user scrolled/tapped away). this fix resets the cycling after `touchend` - essentially returning to the previous behavior, where on touch the carousel essentially never pauses, but now with the previous fix it at least pauses correctly for mouse users on touch-enabled devices. includes documentation for this new behavior.
2017-03-28Fix JS components console error "Error: <Component> is transitioning"Pierre Vanduynslager1-6/+4
2017-03-22Carousel - Add attributes from and to for Slid and Slide events (#21668)Johann1-3/+10
Carousel - Add attributes from and to for Slid and Slide events
2017-01-15Correct reference to Direction.PREV constant. (#21709)Pierre-Denis Vanduynslager1-4/+4
2017-01-06version bumpMark Otto1-2/+2
2016-12-23Closes: #21412: Fix unit test for carouselJohann-S1-1/+0
2016-12-23Carousel: Only prevents default for ARROW_LEFT and ARROW_RIGHT keysMatheus Azzi1-0/+2
Fixes 2 bugs: 1. All keydowns were being prevented. Because of that the user wasn't able to navigate in the whole page using ARROW_UP/ARROW_DOWN. 2. Even when is an input or textarea the keydowns were being prevented. Because of that the user wasn't able to type any text on these elements.
2016-12-04remove commented out codeMark Otto1-4/+0
2016-12-04Merge branch 'v4-dev' into carouselMark Otto1-14/+10
2016-12-04fix js for previousMark Otto1-2/+2
2016-12-04pull in js changes from #18830Mark Otto1-14/+32
2016-12-02[V4] Throw error when a plugin is in transition (#17823)Johann1-4/+6
* Throw error when a plugin is in transition * Add unit tests about plugins in transition