@profiscience/knockout-contrib-observable-fn-toggle
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@profiscience/knockout-contrib-observable-fn-toggle

Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

NOTE: It is recommended to use the @profiscience/knockout-contrib-observable-fn metapackage

toggles/decrements numeric observables

Usage

import '@profiscience/knockout-contrib-observable-fn/toggle'

const foo = ko.observable(true)

foo.toggle()  // false
foo.toggle()  // true

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    0
  • 0.0.2
    0

Package Sidebar

Install

npm i @profiscience/knockout-contrib-observable-fn-toggle

Weekly Downloads

0

Version

0.0.3

License

WTFPL

Unpacked Size

5.44 kB

Total Files

10

Last publish

Collaborators

  • dorgeron
  • barsh