appist-platform

A utility component that provides the platform information and hardware events handling on mobile devices.


Install
bower install appist-platform

Documentation

appist-platform

An element that provides device's information like viewport size, screen size, orientation, language and etc. It can also be used to handle device events like deviceready, backbutton, pause, resume and more.

Prerequisite - For Development and Release Build

$ gem install sass
$ npm install bower gulp jade csscomb vulcanize -g

Development

$ cd appist-platform/src
$ bower install
$ npm install
$ gulp serve

Release Build

$ cd appist-platform/src
$ bower install
$ npm install
$ gulp build
$ gulp gh-pages (This will generate branch 'gh-pages' for you)

Folder Structure

appist-platform/
    src/
        jade/
          *.jade
        sass/
          *.sass
        csscomb.json
        gulpfile.js
        package.json
        bower.json
        .bowerrc
    test/
        index.html
        tests.html        
    index.html
    *.html
    *.css
    bower.json
    README.md        

Installation

$ bower install appist-platform --save

Tests

$ cd appist-platform/
$ npm install web-component-tester -g
$ wct

Credits