Nonflavored Prescription Medicine
    Have ideas to improve npm?Join in the discussion! »

    @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

    Install

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

    DownloadsWeekly Downloads

    4

    Version

    0.0.3

    License

    WTFPL

    Unpacked Size

    5.44 kB

    Total Files

    10

    Last publish

    Collaborators

    • avatar
    • avatar