samson.js
v0.6.15
Published
A performant and easy to learn mobile app framework that will allow you to rapidly build native-like apps that target modern devices (iOS 8+ / Android 4+)
Downloads
167
Maintainers
Readme
Samson.js
A performant and easy to learn JavaScript framework that will allow you to rapidly build apps targeted for modern browsers.
Installation and Usage
$ npm install samson.jsCommonJS or ES6
var Samson = require('samson.js');
var SamsonAppConfig = require('./config');
/* or */
import Samson from 'samson.js';
import { SamsonAppConfig } from './config';
var App = Samson.createApp(SamsonAppConfig);
global.App = App; // Make 'App' global for quick access in all of your files
App.launch(); // The app is now launchedGetting Started
Features
- A CSS Reset for Cordova/Phonegap apps (from: https://github.com/ivangabriele/Cordova-CSS-Reset)
- An extensible page router with default transition animations and the ability to easily add your own
- "Pages" and "Components" that automatically handle their whole lifecycle
