billy-activities
Use activities for state management in Billy applications
Last updated 5 years ago by bvalosek .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install billy-activities 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |