1.0.2 • Published 9 years ago

flyd-keepwhen v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

flyd-keepwhen

keepWhen function for Flyd.

Keeps values from the second stream when the first stream is true (true as in === true).

Usage

var closeDropdown = keepWhen(popupOpen, backgroundClicked);
flyd.map(closeDropdown, function() {
  // Do stuff.
});
1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago