使用Lungo.JS的例子

时间:2011-11-07 12:33:28

标签: javascript frameworks

有没有关于使用Lungo.JS的例子?

我正在尝试开发移动内容的WebApp ......我找到了http://lungo.tapquo.com/,但我似乎无法找到示例。

提前致谢

3 个答案:

答案 0 :(得分:5)

你在这里有一个HOWTO ..

http://lungo.tapquo.com/documentation/

很容易制作测试样品..

1 - 在\ app \ app.js uncoment lng.App.init(...)

2 - 删除测试部分并粘贴此complet示例(基于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-如果你想要更多,有截屏视频:http://vimeo.com/user9162294

[编辑]

4 - 我已经看到github上有一些例子:https://github.com/TapQuo/Lungo.js/tree/master/examples

答案 1 :(得分:4)

我听说下载了这些示例,只是在这里快速播放&gt; https://github.com/daithiw44/Lungo-WS-Node-oAuth。我听说了,看了看。它易于使用,干净整洁,我喜欢它。它刚刚开始,但它是一个良好的开端。

答案 2 :(得分:1)

示例文件夹中的示例令人惊讶:https://github.com/tapquo/Lungo.js/tree/master/example

您也可以直接进行播放:http://lungo.tapquo.com/demo/