How can I swipe between tabs using Polymer 1.0?

随声附和 提交于 2019-12-24 16:12:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!