Giter Site home page Giter Site logo

iron-swiper's People

Contributors

dougchestnut avatar jaysunsyn avatar lauritowal avatar luciditydesign avatar marcus7778 avatar rubenstolk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iron-swiper's Issues

Some functions not working

With that code snippet I don't have the navigationButtons and I can't click on the pagination.

<div class="carousel">
        <sc-swiper navigationButtons loop  pagination paginationClickable>
          <img src="http://lorempixel.com/640/480/transport">
          <img src="http://lorempixel.com/640/480/city">
          <img src="http://lorempixel.com/640/480/nature">
          <img src="http://lorempixel.com/640/480/transport">
          <img src="http://lorempixel.com/640/480/city">
          <img src="http://lorempixel.com/640/480/nature">
          <img src="http://lorempixel.com/640/480/transport">
          <img src="http://lorempixel.com/640/480/city">
          <img src="http://lorempixel.com/640/480/nature">          
        </sc-swiper>     
    </div>

Swiping With Iron-Image

I used iron-swiper dinamically. I got my data from db, and adding to swiper with dom-repeat. There is no problem when i used to "img" tag. But when I try to use Iron-image instead of img , images is not showing. How can I fix it?
Thanks.

Ready for the next release?

Thanks for this element!
Saw that you were working on a Polymer 2 element! Is it ready to release?
I'm referencing #master atm...

Local DOM styling

The recommended way to style a Polymer 1.0 element is with css variables. This allows other users to freely style the element.

https://www.polymer-project.org/1.0/docs/devguide/styling

Without variables it is difficult to update and remove styles of the carousel. The only way is to use the deprecated /deep/ combinator. i.e:

.swiper /deep/ .swiper-slide {
     background-color: red;
}

For example, after variables, some css rules would look like this:

.swiper-slide {
  background-color: var(--primary-background-color);

  ... other rules
}

The styling problem is only present when using native shadow DOM (without polyfills, like webcomponents.js).

Feature Request

It doesn't seem like there currently exists a way to get the current slide's index. As you see on iron-select or one of those elements, you are presented with selected= and you can specify the index of the selected element. My use case requires me to be able to swipe between the pages and know what page I am on so I can prepare the next step

How to use a caption on slider

Im new using polymer, and found this slider component. but how can i use a caption in slider.
Im try like a code below, but doesnt work

<sc-swiper>
  <div>
     <img src="http://lorempixel.com/640/480/cats">
     <h2 class="text">Lorem ipsum/h2>
     <paper-button class="green">
        register now
     </paper-button>
  </div>
</sc-swiper>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.