An open API service indexing awesome lists of open source software.

https://github.com/gwendall/meteor-reactive-var-methods

Useful methods for Reactive Vars
https://github.com/gwendall/meteor-reactive-var-methods

Last synced: 2 months ago
JSON representation

Useful methods for Reactive Vars

Awesome Lists containing this project

README

        

```diff
- NOTE: This package is not maintained anymore.
- If you want to help, please reach out to [email protected]
```

Meteor Reactive Var Methods
===========================

Adds a couple of useful methods to reactive-var

Installation
------------

``` sh
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