L2t Paper Slider Versions Save

Polymer element for displaying slides in a carousel

v2.0.4

6 years ago

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.

v2.0.3

6 years ago

Moved _countSlides into the 'delay on first run' section to ensure the correct number of slides are returned.

v2.0.2

6 years ago

Polymer 2 patch for _countSlides

v2.0.1

6 years ago

total-slide on the element no longer needs to be set manually.

v2.0.0

6 years ago

Thanks to Jalal Fathi for his pull request.

v1.4.2

6 years ago

Change log

  • Removed space preventing mixins from being applied.

v1.4.1

7 years ago

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

v1.3.5

7 years ago

Fixed the percentMove logic so you can only change one slide per swipe.

v1.3.4

7 years ago

Forgot to add mouseup class before any tracking takes place.

v1.3.3

7 years ago

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