About Lungo
LungoJs is a HTML5 framework for developers to design, build & share cross-device applications. It supports open web standards, such as HTML5, CSS3 & JavaScript, bringing a consistent browser environment across all devices.
Not all the ways to develop an App are optimized. Lungo offers you a robust API so you can have complete control of everything happening in your App. It’s expensive to develop an App for every Platform & the arrival of tablets and Smart TVs hasn’t helped. However, Lungo suits all the devices creating a unique & amazing UX.
Below are the Dependencies of aLungoApp’s body:
<link rel="stylesheet" href="components/lungo.brownie/lungo.css"> <link rel="stylesheet" href="components/lungo.icon/lungo.icon.css"> <link rel="stylesheet" href="components/lungo.brownie/lungo.theme.css"> <scriptsrc="components/quojs/quo.js"></script> <script src="components/lungo/lungo.js"></script>
Main container of your UI Components in the App is <section>. The <article>must be placed inside your section and all sections & articles must contain an unique ID.
For example:
<section id="main"> <article id="main-article"> Your content </article> </section>
To initialize Lungojs there is a init function available. We have to query like ths:
For example:
Lungo.init({});
Lungo supports Loading of resources both synchronously and asynchronously on init. Here’s how it is:
Load resources synchronously on init :
//Load resource on app init Lungo.init({ name: 'example', resources: ['section_to_load.html'] });
Load resources asynchronously on init :
<section id="loader" data-transition=""> <article id="art1" class="active"> <a href="#main" data-router="section" data-async="section_to_load.html"> Go to section </a> </article> </section>
There is also the ‘isMobile()’ method to determine if the current environment is a mobile environment or not.
For example:
Lungo.Core.isMobile();
Planning for a cross-device application of your own? We at Andolasoft, develop stellar Applications for Businesses of all kinds. Talk to our Experts to convert your idea into an App.
Also, share your thoughts below.