flyd-keepwhen

    1.0.2 • Public • Published

    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.
    });
    

    Keywords

    Install

    npm i flyd-keepwhen

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • paldepind