Giter Site home page Giter Site logo

mythli / onsenui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onsenui/onsenui

0.0 2.0 0.0 202.93 MB

Hybrid Mobile App UI Framework for iOS and Material Design with Angular and React Components

Home Page: https://onsen.io/

License: Other

HTML 11.52% CSS 35.21% Smarty 0.01% JavaScript 52.55% TypeScript 0.51% ApacheConf 0.19% Shell 0.02% PHP 0.01%

onsenui's Introduction

Onsen UI - HTML5 Hybrid Mobile App Framework

Join us on Gitter Forum TypeScript definitions on DefinitelyTyped Circle CI Coverage Status npm version

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

We just released the RC of Onsen UI 2. The new version includes Material Design, React components, Angular 2 components and much more. Check out all the new features here!

Onsen UI is:

  • Open source, free and open for all. It's designed and implemented to deliver unprecedented user interface and user experience for your mobile and hybrid apps. Onsen UI is built on top of Web Components so applications can be built using HTML tags web developers already know and love.

  • Framework agnostic. This means that it can be used with whatever front-end framework you prefer. However, it also provides a binding library for Angular 1 & 2 which makes it easy to integrate our custom tags with these frameworks. React Components for Onsen UI are also available and they play really well with React tooling such as React Hot Loader, Redux or MobX.

  • Completely integrated with Monaca kit, a complete set of tools that makes PhoneGap/Cordova development super simple. Monaca CLI provides Onsen UI templates, device debugger, remote building and any service you might need directly from your terminal. We also have GUI and cloud alternatives if you prefer that over CLI.

  • Beautifully made with flat (iOS) and Material Design (Android) flavors. It automatically styles your app depending on the platform and gives you control to customize it. Check out our Automatic Styling in action. It 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.

  • Fully documented. And if you want even more, we provide an Interactive Tutorial where you can try and modify examples, export your code online and even generate Cordova projects.

  • Community based. Check out our blog, forum and chat to get the latest updates and directly contact the dev team. We are always very active answering questions so you don't get stuck with your apps.

Browser Support

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

  • Android 4.1+
  • iOS8+
  • Windows Phone 10+
  • Google Chrome
  • Safari

Demo

Click here to see Onsen UI in action! Check our tutorial for more examples.

What's Included

Getting Started Using Templates

See the Onsen UI Getting Started page. We provide project templates for you in the project-templates repository. You will see the instruction on how to run the project there. For Visual Studio developers we provide directly provide Onsen UI extension.

Getting Started Using Monaca

Monaca is a set of tools that makes hybrid mobile app development with PhoneGap/Cordova simple and easy: debugging suite, push notifications, remote build, back-end, encryption, version control and more. See the Onsen UI Getting Started Page for more information.

$ [sudo] npm -g install monaca
$ monaca create helloworld # And choose the starter template
$ cd helloworld # Switch to the directory
$ monaca preview # Preview on the browser
$ monaca debug # Preview on the real device

Download Onsen UI

The distribution repository is located here. React Components for Onsen UI are distributed separately in this other repo.

Onsen UI is available with npm, bower or jspm. Example:

$ npm install onsenui

For React:

$ npm install react-onsenui

For an example that uses React, Redux and Webpack you can check out our Weather app sample. Try the demo here.

For Angular2:

$ npm install angular2-onsenui

Download the latest build

A new build is generated every time the code changes. It can be downloaded on this page.

Please use this with caution. However, we are very grateful if people try it out so we can find bugs and things to improve before the sharp releases.

How to manually build this project

Clone this repository and run the following commands to build the project:

$ npm install
$ gulp build

The files will be built and copied into build folder.

Running Examples

$ gulp serve

Running the test suite

Onsen UI has unit tests for the Web Components as well as end-to-end testing of the AngularJS directives using Protractor.

Use the following commands to run the unit tests:

$ npm install
$ gulp core-test

or these commands for the protractor tests:

$ npm install
$ gulp e2e-test

It will take some time the because it will download a stand-alone Selenium Server and a Chrome webdriver the first time it's executed.

To run a single test or a group of tests use the --specs parameter and provide a comma-separated list of spec files:

$ gulp e2e-test --specs test/e2e/lazyRepeat/scenarios.js

In order to run both the unit tests and the end-to-end tests use the following command:

$ gulp test

How to contribute

Please see our document on contributing. See the full list of contributors here.

Getting support

If anything about Onsen UI is unclear, please ask a question on our community forum or Stackoverflow and tag it "onsen-ui".

You can also join our Gitter channel if you want to talk directly to the dev team.

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).

Onsen UI - Monaca

onsenui's People

Contributors

anatoo avatar andipavllo avatar argelius avatar caram6 avatar d3orn avatar elnur avatar frandiox avatar greenkeeperio-bot avatar iamjay avatar idealhack avatar igorminar avatar iliasky avatar jackchuka avatar jcdenton86 avatar jsoref avatar kruyvanna avatar marcel-dancak avatar marcenuc avatar marqu3z avatar masahirotanaka avatar matoilic avatar mhevery avatar michaelneale avatar philolo1 avatar roboncode avatar shika22 avatar vojtajina avatar woyehenni avatar yoshiko-pg avatar zack24q avatar

Watchers

 avatar  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.