流星铁路由器设置路由重叠 [英] Meteor iron-router set route for overlay

查看:106
本文介绍了流星铁路由器设置路由重叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果叠加层具有特定路线,我想通过iron-router实现覆盖效果(如Atmospherejs.com)( https: //atmospherejs.com/?q= )。有人有什么想法吗?

I wanted to implement the overlay effect like Atmospherejs.com by iron-router when overlay has the specific route (https://atmospherejs.com/?q=). Does anyone have any idea?

推荐答案

顺便说一下它没有路线。您可以看到域名和查询参数之间没有什么。
和它只是触发UI元素的一些点击。

It doesn't have route, by the way. As you can see nothing between domain name and query parameter. and It just triggering of UI element on some click.

像CodeDrops下面的代码可能会帮助您的用例 -

Something like following from CodeDrops might help for your usecase -

演示:
http://tympanus.net/Development/FullscreenOverlayStyles/index5.html

相同的代码和文章:
http://tympanus.net/codrops/2014/02/06/fullscreen-overlay-effects/

这篇关于流星铁路由器设置路由重叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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