Instant mobile web app creation

Related tags

React app
Overview

app.js - mobile webapps made easy

App.js is a lightweight JavaScript UI library for creating mobile webapps that behave like native apps, sacrificing neither performance nor polish.

  • cross-platform (Android 2.2+, iOS 4.3+)
  • themable platform-specific UI designs
  • configurable native-like transitions
  • automatically managed navigation stack
  • built-in widgets for general use-cases

The goal of App.js is to provide a robust starting point for mobile webapps, handling general scenarios, and maintaining compatiblity with other common JavaScript libraries.

##Check out the documentation here

##Changelog

Comments
  • How to reinitialize page

    How to reinitialize page

    How to reinitialize page after it's html content has been completely rewritten?

    Let say I have this basic structure

    <div class="app-page" data-page="home">
      <div class="app-topbar">
        <div class="app-title">Home</div>
      </div>
    
      <div class="app-content">
        <div class="app-section">
          <div class="app-button" data-target="page2">Go to Page 2</div>
        </div>
      </div>
    </div>
    
    <div class="app-page" data-page="page2">
      <div class="app-topbar">
        <div class="app-button left" data-back data-autotitle></div>
        <div class="app-title">Page 2</div>
      </div>
    
      <div class="app-content">
        Page 2 is lonely
      </div>
    </div>
    

    When I replace html content of <div class="app-page" data-page="page2"> with the following code, back button stops working.

    App.controller('page2', function(page) {
      $(page).html('...HTML CONTENT SEE BELOW...');
    });
    

    HTML:

      <div class="app-topbar">
        <div class="app-button left" data-back data-autotitle></div>
        <div class="app-title">Page 3</div>
      </div>
    
      <div class="app-content">
        Page 3 is lonely
      </div>
    
    opened by momelnyk 8
  • Fixed click events on .app-buttons after page generation not working

    Fixed click events on .app-buttons after page generation not working

    Before this, anything added to the DOM with the.app-button class, would not have events attached to it. A lot of users have reported this issue, but no fix was available.

    I isolated the event attachment code, monitor when new elements are added with the right class, and run the function on those as well. All the while making sure events are not attached twice.

    Hope this helps anyone :)

    opened by Ziao 8
  • Offscreen scroll image

    Offscreen scroll image

    Hello, so i am trying to implement an easter egg like the one in foursquare app as in if you scroll enought you can see an image.

    related pic of my super (first) awesome app: scroll-image

    opened by necenzurat 8
  • data-autotitle automatic and not desired

    data-autotitle automatic and not desired

    Hi there,

    I have a button on my topbar defined like this:

    <div class="app-button menu-button left"></div>
    

    My problem is that when I go the page containing that button then get automatically the title of the previous page.

    I know there's some functionality like this for the Back Button but I don't want to use it in that button and I think that maybe is a bug.

    Thanks! :+1:

    opened by midudev 8
  • Input fields are hidden when selected

    Input fields are hidden when selected

    Hi there,

    My app worked perfectly on the desktop but when I went to use it in the Kik browser the pop-up keyboard would cover the input fields I was selecting.

    Is this a known bug? Is there a fix you could point to?

    opened by ricburton 5
  • kik.browser is undefined

    kik.browser is undefined

    Apologies if this is the wrong place to air this issue but I can't get kik.browser.setOrientationLock('portrait'); to work because kik.browser is showing up as undefined. I can see the function in the minified kik.js but I can't tell what object it should be working upon.

    opened by ricburton 4
  • Proper scrolling on iOS 7

    Proper scrolling on iOS 7

    Hello Jairaj,

    App.js websites still do not work well outside of the Kik browser due to the fact that scrolling takes place within the page's content element. By fixing the body height, the iOS 7 browser cannot hide its chrome while the user scrolls down the document.

    Do you have any plans on fixing this?

    Earl

    opened by eaoliver 4
  • Release notes for version 3?

    Release notes for version 3?

    Hello,

    We're currently developing an app using App.js structure. It's halfway done and we just noticed the update but couldn't find what's new on this version. Will there be a document with that?

    Thanks.

    opened by rodrigoplant 3
  • populating a list by cloning a template list item does not work properly

    populating a list by cloning a template list item does not work properly

    hey, I am trying to populate a UL element by cloning a LI element template. after doing so - stuff like the styling for when tapping on an item and the fast click binding becomes missing on the populated list items.

    html:

    <div class="app-page" data-page="menu">
          <div class="app-topbar">
            <div class="app-button left" data-back data-autotitle></div>
            <div class="app-title">Menu</div>
          </div>
          <div class="app-content">
            <div class="app-section">
                <ul class="app-list">
                    <label>Menu</label>
                        <li class='app-button' data-target='allItems'>Hot Drinks</li>
                </ul>
            </div>
          </div>
        </div>
    

    JS:

    function menuController(page){
        var self = this;
        api.getStoreMenu(1,123).done(function(data){
            self.render(data, page);
        });
        $(page).find('li.app-button').on('click', function(){
            var i = $(this).data('section-index');
            App.load('allItems', {sectionIndex:i});
        });
    
    }
    
    menuController.prototype.render = function(menu, page){
        var $content = $(page).find('div.app-content');
        var $template = $content.find('li.app-button');
        var $ul = $(page).find('ul');
        menu.forEach(function(cat, i){
            var catName = cat.category_name;
            var $li = $template.clone(true).text(catName).
                attr('data-section-index', i).appendTo($ul);
                //attr('data-target-args', '{sectionIndex: "'+i+'"}').appendTo($ul);
        });
        $template.remove();
    }
    

    thanks

    opened by eilambulka 3
  • Feature request: Infinite scrolling callback accept jquery (or zepto) nodes

    Feature request: Infinite scrolling callback accept jquery (or zepto) nodes

    Hello, First off, thanks for adding infinite scrolling to app.js. :-) It would be nice if the callback for infinite scrolling accepted an array of jquery (and zepto) nodes as well. Passing an array of jquery nodes currently throws a TypeError.

    Earl

    opened by eaoliver 3
  • 'click' event callbacks cleared when data-back=

    'click' event callbacks cleared when data-back="false"

    This isn't a bug per se, but it's something that is worth documenting since the behaviour is not obvious.

    I have a button in the navigation bar that is defined by the following code:

    With a click handler setup as follows:

    App.populator('feed', function(page) { ... $(page).find('.app-button.profile_icon').on('click', function() { // executes once only (see explanation below) } }

    I arrive at this page from an earlier page, and did not want the app-button treated as a back button. It therefore seemed logical (and perhaps redundant) to set data-back="false". However, setting data-back="false" causes the click handler to be cleared after the first click. The 'active' class is also not removed from the element after the first click.

    opened by eaoliver 3
  • /storet

    /storet

    libpng-1.5.13-8.el7.x86_64 lrwxrwxrwx 1 root root 19 Oct 13 15:52 /usr/lib64/libpng15.so.15 -> libpng15.so.15.13.0 -rwxr-xr-x 1 root root 179328 Oct 13 15:52 /usr/lib64/libpng15.so.15.13.0 drwxr-xr-x 2 root root 0 Oct 13 15:52 /usr/share/doc/libpng-1.5.13 -rw-r--r-- 1 root root 192660 Sep 27 2012 /usr/share/doc/libpng-1.5.13/CHANGES -rw-r--r-- 1 root root 4205 Sep 27 2012 /usr/share/doc/libpng-1.5.13/LICENSE -rw-r--r-- 1 root root 10418 Sep 27 2012 /usr/share/doc/libpng-1.5.13/README -rw-r--r-- 1 root root 1120 Aug 27 2010 /usr/share/doc/libpng-1.5.13/TODO -rw-r--r-- 1 root root 31690 Sep 27 2012 /usr/share/doc/libpng-1.5.13/example.c -rw-r--r-- 1 root root 195566 Sep 27 2012 /usr/share/doc/libpng-1.5.13/libpng-manual.txt -rw-r--r-- 1 root root 1146 Oct 13 15:52 /usr/share/man/man5/png.5.gz

    opened by varfco 0
  • <video></video> element doesnt display app page

    element doesnt display app page

    hi, I use app.js app.min.css for developing the ui. I inserted a

    to display the video capture by my webcam. The webcam is running and working, however the video is not showing. Only the video is not showing, the other elements in the
    is displaying properly. Please help.

    I posted my full code in this link https://stackoverflow.com/questions/54644775/the-video-element-is-not-showing-on-the-page

    thanks in advance

    opened by JaydonChion 0
Owner
Kik
Kik
Shows how React components and Redux to build a friendly user experience with instant visual updates and scaleable code in ecommerce applications

This simple shopping cart prototype shows how React components and Redux can be used to build a friendly user experience with instant visual updates and scaleable code in ecommerce applications.

Alan Vieyra 4 Feb 1, 2022
Rocket Bank is a finance mobile app built for XP Mobile Challenge.

Rocket Bank is a mobile application made with React Native. You can track your portfolio performance, make deposits and withdrawals, and buy and sell

Rafo 10 Jul 27, 2022
WPPConnect/mobile is an open source project with the objective of automating whatsapp web using the android or ios mobile browser and being able to perform all the functions of our wa-js project

WPPConnect/mobile is an open source project with the objective of automating whatsapp web using the android or ios mobile browser and being able to perform all the functions of our wa-js project, so it is possible to create a customer service, media sending, intelligence recognition based on artificial phrases and many other things, use your imagination to change and modify this project or collaborate on improvements...

null 11 Dec 28, 2022
🔄 Basic project to start studying React and Typescript. With it you can translate text to binary or morse language. This project addresses the creation of routes and components.

max-conversion Projeto criado para iniciar nos estudos de React e Typescript Basic project to gain knowledge in react Na plataforma é possível convert

Igor Neves 3 Feb 12, 2022
Recipe providing mobile app, User selects ingredients in pantry and is then provided recipes for those ingredients. App contains a signup/login, meal planner and grocery list pages.

Recipog Student Information Name Connor de Bruyn Username Destiro Assignment SWEN325 A2 Description “Recipog” is a recipe providing app that allows th

Connor de Bruyn 1 Dec 26, 2021
Concircle scanner mobile app is application That helps you scan your order and position and to know if there are exact or not. it's cross-platform app.

Concircle scanner mobile app ⭐ Star on GitHub — it motivates Me a lot! Concircle scanner mobile app is application That helps you scan your order and

Aymen Ouerghui 10 May 7, 2022
Web App for T-Mobile Arcadyan KVD21 5G Gateway

Instructions git clone https://github.com/christopherjnelson/Arcadyan-5G-Web-Admin.git cd Arcadyan-5G-Web-Admin npm install npm start Overview: This p

null 18 Dec 18, 2022
Final Project 3 - Mobile App Hotel Reservation

Hotel Reservation Mobile App Instruksi Pada Final Project kali ini, kamu diminta untuk membuat cloning dari aplikasi Airbnb, khusus untuk fitur-fitur

Akhsan Bayu 2 Jan 3, 2022
Fetching data from REST COUNTRIES API, this app (mobile version for now) gives information like area, population, capital, and borders for 195 countries from seven continents.

Space Travellers' Hub World Countries App works with an API which returns informations about 195 countries. Fetching data from REST COUNTRIES API, thi

Nicolae Pop 7 Aug 8, 2022
This project is a React Native Boilerplate that can be used to kickstart a mobile app.

Meta Point People: Mounir Dhahri This is an Artsy OSS project. Don't know what Artsy is? Check out this overview and more, or read our objc.io on team

Artsy 4 Jul 6, 2022
An easily internationalizable, mobile-friendly datepicker library for the web

react-dates An easily internationalizable, accessible, mobile-friendly datepicker library for the web. Live Playground For examples of the datepicker

Airbnb 12k Dec 30, 2022
Covid-19 Tracker is a mobile web application showcasing the covid-19 statistics in Africa.

Covid-19 Tracker is a mobile web application showcasing the covid-19 statistics in Africa. when the user clicks on the countries' cards, they will be rendered to the details page that contains more information about the covid-19 in the selected country. Also, the user can search for a specific country using the search bar.

Nedjwa Bouraiou 7 Sep 6, 2022
Most modern mobile touch slider with hardware accelerated transitions

Get Started | Documentation | Demos Swiper Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing

Vladimir Kharlampidi 33.7k Jan 5, 2023
Our Expo-based mobile application for demonstration purposes.

Capable Care reference implementation This repository provides a working example of a React Native mobile application (built on Expo) integrating Capa

Capable Health 11 Oct 1, 2022
Modal in desktop, fullscreen in mobile

React Full Screen Modal Why? Modals typically don't work well for modals. They take up a lot of space and often squish their contents. This library ai

Chris 2 Mar 7, 2022
🚀 Aplicação mobile com React Native produzida durante o Next Level Week #05

✨ Tecnologias Esse projeto foi desenvolvido com as seguintes tecnologias: React Native Typescript Expo ?? Projeto Aplicativo para lhe ajudar a lembrar

Danilo Alexandrino 11 May 28, 2022
USA Covid-19 Tracker is a mobile-first application built with React and Redux to give precise information about the virus behavior in the United States. Great transitions and user feedback made with plain CSS.

React.js USA Covid-19 Tracker This application allows the public to keep track of the stadistics of the Covid-19 Pandemic in the United Stated. You wi

Rafael Echart 14 Oct 25, 2022
Choosy is a mobile application that allows users to create photo polls that others can vote on and help declare which photo is the best.

Choosy - Create photo polls The freshest mobile application for your photo polls! Explore the docs » Table of Contents Introduction App concept Target

Choosy 13 Sep 7, 2022
Course material for Mobile Application Development, Integrated Digital Media, Tandon School of Engineering, NYU

Mobile-Application-Development Course material for Mobile Application Development, Integrated Digital Media, Tandon School of Engineering, NYU Classs

Andreas Borg 3 May 1, 2022