1.3.0 • Published 8 years ago

koco-demo-page v1.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

Test page

This is a demo page component based the koco generator conventions. It has no purpose other than demoing an external bower component.

Installation

bower install koco-demo-page

Registering the page

This component could be registered as a normal knockout component, but if you are using the knockout-router it would be like this:

var router = require('knockout-router');

// Register the page.
router.registerPage('koco-demo', {
    isBower: true
});

// Add a route that will answer to /test or /#/test if you are using hashes.
router.addRoute('test', {
    title: 'Test page',
    pageName: 'koco-demo' // must match the component's name registered earlier.
});
1.3.0

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago