如何使用Polymer 1.0在标签之间滑动? [英] How can I swipe between tabs using Polymer 1.0?

查看:76
本文介绍了如何使用Polymer 1.0在标签之间滑动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Polymer 1.0,并希望创建一个选项卡式布局,在其中可以在我拥有的每个选项卡之间滑动.我找到了 swipe-pages 组件,但是需要"polymer": "Polymer/polymer#^0.4.0"依赖于站点状态,这与我的应用程序的其余部分不兼容.是否还有其他与最新版本的Polymer(或至少是Polymer 1.0)兼容的组件?

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)?

谢谢

推荐答案

有Polymer 1.0版本.参见 https://github.com/slogger/swipe-pages .

There is a Polymer 1.0 version. See https://github.com/slogger/swipe-pages.

这篇关于如何使用Polymer 1.0在标签之间滑动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆