panels-router

0.7.0 • Public • Published

panels router

Teleport all the things :).

PanelsRouter is in charge of understanding panels URIs which are the base of our logic.

API

Actions

  • #navigate(uri): go to a URI

history

  • #history: pushstate and popstate handler

Parser

  • #parse(uri): parses a panels URI

Store

  • #panels: the list of panels' keys that represent the application
  • #uri: the application's URI

Install deps

  1. Get iojs. Guide.
  2. Install the deps npm install.

Examples

See playground/playground.es6.

Run it with npm start.

License MIT

Darío Javier Cravero dario@uxtemple.com Tom Parandyk tom@uxtemple.com

(c) 2015 UXtemple Limited hi@uxtemple.com

https://usepanels.com https://UXtemple.com

Readme

Keywords

Package Sidebar

Install

npm i panels-router

Weekly Downloads

2

Version

0.7.0

License

MIT

Last publish

Collaborators

  • dariocravero