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
- Host: GitHub
- URL: https://github.com/gwendall/meteor-reactive-var-methods
- Owner: gwendall
- Created: 2015-03-12T19:35:09.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T14:23:12.000Z (almost 8 years ago)
- Last Synced: 2025-03-18T05:56:56.289Z (3 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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