Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

standard-library/flaneur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flaneur

Tell the flaneur where you'd like to go, and there the flaneur will take you.

Installation

yarn add @standard-library/flaneur

Usage

import flâneur from "@standard-library/flaneur";

const scrollY = K.fromEvents(window, "scroll").map(() => window.scrollTop);
const flânerie = flâneur({}, scrollY);

const interestingThings = K.sequentially(1000, [450, 100, 1000]);

flânerie.regard(interestingThings);

About

Scroll position manipulation with streams

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published