node package manager

koco-knockout-utilities

koco Knockout Utilities

A sets of helpers for knockout. Mainly used with the generator-koco project.

Installation

bower install knockout-utilities

Knockout component registration

This library exposes mainly a function to register knockout components.

var koUtilities = require('koco-utilities');
koUtilities.registerComponent('component_name', {
    htmlOnly: boolean,  // defines a component which doesn't have a JavaScript backend. 
    isBower: boolean,   // will search bower_components/ folder. 
    basePath: string    // override any path convention to find the component. 
});