Releases: Link2Twenty/l2t-paper-slider
Releases · Link2Twenty/l2t-paper-slider
--paper-slide-font-size patch
Added --paper-slide-font-size as a CSS variable so font can easily be set in firefox
This should not cause any issues with current setups.
_countSlides Patch
Moved _countSlides into the 'delay on first run' section to ensure the correct number of slides are returned.
Patch
Polymer 2 patch for _countSlides
totalSlide redundancy
total-slide on the element no longer needs to be set manually.
Hybrid mode
Thanks to Jalal Fathi for his pull request.
Minor bug fix
Change log
- Removed space preventing mixins from being applied.
Polymer 2.0
Change log:
- Changed to using slot rather than content
- Changed listeners to Polymer.Gestures
- Changed document.activeElement to this.shadowRoot.activeElement
- Added detectors to see polymer version
- Added backwards compatibility for Polymer 1.0
- Updated demo
Known issues:
- IE complains about webcomponents.js
- You can no longer add or remove slides once the element has been created
TODO:
- Look at making it possible to push new slides (as nodes) into the shadow dom
- Look at removing any slide and moving all other slides accordingly
percentMove logic
Fixed the percentMove logic so you can only change one slide per swipe.
Patch
Forgot to add mouseup class before any tracking takes place.
Responsive update
Changes:
- There is now a mouseup class to contain transition defaults
- .mouseup is removed at tracking start and replaced at tracking begin so make sliding appear less delayed
- errors no longer thrown when 0 slides are requested