问题
I am using Polymer 1.0 and looking to create a tabbed layout where I can swipe between each tab I have. I have found a swipe-pages component, but the dependencies on the site state that it needs "polymer": "Polymer/polymer#^0.4.0"
which does not work with the rest of my application. Are there any other components compatible with the latest version of Polymer (or at least Polymer 1.0)?
Thanks
回答1:
There is a Polymer 1.0 version. See https://github.com/slogger/swipe-pages.
回答2:
I'm very new in web development but I made an swipeable-pages element for Polymer 1.0 that works with dynamic pages like dom-repeat!
https://github.com/emersonbottero/swipeable-pages.
P.S.: I know the question is old but people may still need it. P.S.2: Improvements are welcome to the code :D.
来源:https://stackoverflow.com/questions/32972768/how-can-i-swipe-between-tabs-using-polymer-1-0