javascript 使用 Lungo.JS 的示例
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8036574/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Examples using Lungo.JS
提问by NeoMorfeo
Is there any example on using Lungo.JS?
有没有使用 Lungo.JS 的例子?
I'm trying to start developing a WebApp for mobile content... and I've found http://lungo.tapquo.com/, but I can't seem to find examples.
我正在尝试开始为移动内容开发 Web 应用程序......我找到了http://lungo.tapquo.com/,但我似乎找不到示例。
Thanks in advance
提前致谢
回答by Iker
You have a HOWTO here..
你有一个 HOWTO 这里..
http://lungo.tapquo.com/documentation/
http://lungo.tapquo.com/documentation/
it is easy to make a test sample..
制作测试样品很容易..
1 - on \app\app.js uncoment lng.App.init(...)
1 - 在 \app\app.js 上取消注释 lng.App.init(...)
2 - remove the test section and paste this complet example (based on the howto):
2 - 删除测试部分并粘贴此完整示例(基于 howto):
<section id="main">
<header data-title="Title of section"></header>
<article id="first_article"></article>
<article id="second_article" class="list">
<scroll id="main_scroll">
<ul>
<li data-icon="user">
<strong>@soyjavi</strong>
<small>Author of @Lungojs</small>
</li>
<li data-icon="user">
<strong>@pasku1</strong>
<small>Contributor of @Lungojs</small>
</li>
...
</ul>
</scroll>
</article>
<footer class="toolbar">
<nav>
<a href="#first_article" class="article" data-icon="home"></a>
<a href="#second_article" class="article" data-icon="user"></a>
<!-- This link is to view a different section -->
<a href="#second" class="section" data-icon="right"></a>
</nav>
</footer>
</section>
<section id="second">
<header data-back="home blue"></header>
<!-- content -->
</section>
3- if you want more, there are screencasts: http://vimeo.com/user9162294
3-如果你想要更多,有截屏视频:http: //vimeo.com/user9162294
[edited]
[编辑]
4 - I have seen that there are examples on github: https://github.com/TapQuo/Lungo.js/tree/master/examples
4 - 我看到github上有例子:https: //github.com/TapQuo/Lungo.js/tree/master/examples
回答by daithi44
I heard about downloaded the examples and just had a quick play here > https://github.com/daithiw44/Lungo-WS-Node-oAuth. I heard about it and had a look. Its easy to use, clean and neat, I like it. Its only starting out but its a good start.
我听说下载了这些示例,只是在这里快速播放 > https://github.com/daithiw44/Lungo-WS-Node-oAuth。我听说了,看了看。它易于使用,干净整洁,我喜欢它。它只是开始,但它是一个好的开始。
回答by David
The example is surprisingly enough in the example folder: https://github.com/tapquo/Lungo.js/tree/master/example
示例文件夹中的示例令人惊讶:https: //github.com/tapquo/Lungo.js/tree/master/example
You can also play with it directly by going to: http://lungo.tapquo.com/demo/
你也可以直接去玩:http: //lungo.tapquo.com/demo/