Giter Site home page Giter Site logo

aldaayushman / onsenui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onsenui/onsenui

0.0 2.0 0.0 66.76 MB

Custom Elements-Based HTML5 UI Framework for Building Your Mobile Front End

Home Page: http://onsen.io

License: Other

JavaScript 56.58% CSS 43.42%

onsenui's Introduction

Onsen UI

The best place to start with Onsen UI is our Getting Started page.

The Answer to PhoneGap UI Development

Built on top of AngularJS and Topcoat, Onsen UI is open source, free and open for all. Onsen UI is designed and implemented to deliver unprecedented user experience for your apps. Applications can be built using HTML tags web developers already know and love. We love AngularJS and all the power it brings. But we've also added support for JQuery so developers less familiar with AngularJS can take advantage of Onsen UI, too.

Onsen UI also includes Onsen CSS Components, a free resource of UI templates with "theme roller" functionality. Developers can pick and choose, grab the code they need, and they're off and running. And they can create their own templates and submit to Onsen UI to be included with other templates available.

Monaca IDE fully supports Onsen UI plugin.

Browser Support

Onsen UI is tested with the following browsers and mobile OS.

  • Android2.3.4+
  • iOS6+
  • Google Chrome
  • Safari

Demo

Click Here to see Onsen UI in action!

What's Included

Getting Started Using Templates

See the Onsen UI Getting Started page.

Getting Started Using Monaca

See the Onsen UI Getting Started Page and scroll down to the Using Onsen UI with Monaca section.

How to build

  • Clone this repository

      $ git clone https://github.com/monaca/OnsenUI.git
    
  • Open the terminal from OnsenUI directory

      $ cd OnsenUI
    
  • Install dependencies using npm

      $ npm install
    
  • Install gulp (globally)

      $ [sudo] npm install -g gulp
    
  • Type gulp to start building

      gulp build
    

The files will be built and copied into build, demo/lib/onsen/, and app/lib/onsen/ folder.

Running Demo

    $ npm install

    $ [sudo] npm install -g gulp

    $ gulp serve

Developing your app

Monaca IDE makes it super easy to create Onsen UI project, but if you want to use other IDEs, we provide project templates for you in the project_tempates folder. You will see the instruction on how to run the project there.

Documentation

See the current Onsen UI docs.

Developing Onsen UI

Run gulp task to develop Onsen UI itself with livereload.

gulp serve

Access http://0.0.0.0:8000/demo/index.html and your code changes will be reloaded.

How to contribute

We will happily accept contributions to Onsen UI. It can be both fixes for bugs or typos or even new features that extend Onsen UI.

The basic workflow when making contributions is the following:

After you've made a pull request we will review it. If everything is fine and we like the change the contribution will be pulled into the main Onsen UI repository. In the case where there are some issues with the code or we disagree with how it's been implemented we will describe the issues in the comments so they can be corrected.

Code style

There are some things to keep in mind when making code contributions to Onsen UI. The code must adhere to the general code style used.

Here is a list of some rules that should be followed:

  • Code should be properly indented. Onsen UI uses two-space indentation in both HTML and JavaScript. Please don't use tabs for indentation.
  • Separate binary operators with spaces: var x = 1+1 is incorrect, it should be written as: var x = 1 + 1.
  • if, while, for, etc. should be separated from the paranthesis with a space.
  • Use easy-to-understand and logical naming for your variables and method names, especially for variables and methods that are exposed to the user.
  • Internal APIs should be preceded by an underscore.
  • Use single quotes for strings in JavaScript and double quotes for attributes in HTML.

Getting support

If anything about Onsen UI is unclear, please ask a question on Stackoverflow, and tag it "onsen-ui". An Onsen UI support engineer will answer it.

If you have any requests or comments regarding the development of Onsen UI, please feel free to direct them to the Twitter account (@Onsen_UI).

onsenui's People

Contributors

kruyvanna avatar argelius avatar anatoo avatar igorminar avatar masahirotanaka avatar roboncode avatar vojtajina avatar idealhack avatar shika22 avatar marqu3z avatar michaelneale avatar mhevery avatar yoshiko-pg avatar woyehenni avatar elnur avatar ermakovich avatar caram6 avatar tincoboekestijn avatar fuentesjr avatar philspitler avatar segeda avatar marcenuc avatar rolaveric avatar jksdua avatar iszak avatar ifedotov avatar djebbz avatar cburgdorf avatar btford avatar andrewgross avatar

Watchers

James Cloos avatar Aayushman Gupta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.