billy-activities

1.0.0 • Public • Published

billy-activities

Build Status NPM version

A service that allows for the use of activities for state management in Billy Applications

Install

$ npm install billy-activities

Usage

var Application        = require('billy');
var ActivityService    = require('billy-activities');
var HomeScreenActivity = require('./activities/HomeScreenActivity.js');
 
var app = new Application();
app.service(ActivityService);
app.config('navigator.startup', HomeScreenActivity);
 
app.start();

Injectables

New dependencies that you can use after adding this service:

tag type description notes
navigator Navigator The activity navigator interface Use the navigator to start and finish activities across the application

Configs

Available config properties:

config type description default value notes
navigator.startup Activity Activity to to launch at app startup null

Testing

$ npm test

License

MIT

Package Sidebar

Install

npm i billy-activities

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bvalosek