gwendall:reactive-var-methods

v0.1.0Published 11 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Meteor Reactive Var Methods

Adds a couple of useful methods to reactive-var

Installation

meteor add gwendall:reactive-var-methods

Methods

.push(value)
Pushes a value to a reactiveVar array

.pull(value)
Pulls a value from a reactiveVar array

.toggle(value)
Pulls or pushes a value from a reactiveVar array if it contains it or not