1.0.0-alpha.12 • Published 6 years ago

@profiscience/knockout-contrib-observable-fn v1.0.0-alpha.12

Weekly downloads
1
License
WTFPL
Repository
github
Last release
6 years ago

@profiscience/knockout-contrib-observable-fn

Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

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'