@profiscience/knockout-contrib-observable-fn
v1.0.0-alpha.12
Published
Knockout JS Observable Functions
Downloads
4
Readme
@profiscience/knockout-contrib-observable-fn
This is a metapackage including all
@profiscience/knockout-contrib-observable-fn-*
packages
Extends the observable prototype. See Adding custom functions using "fn"
Contents
Usage
Importing a function will add it to the prototype of all subsequently created observables.
You may import a single function, or all of them.
// import all
import '@profiscience/knockout-contrib-observable-fn'
// import single
import '@profiscience/knockout-contrib-observable-fn/increment'