This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1
Yet another debouncer component for Elm
version 1.0.2
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.2
Committed At 2016-11-14 15:36:07 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1




This module provides a component following The Elm Architecture that can "debounce" a series of updates to a value.

See example/Main.elm for an example of using this module.

Related work provides a similar component. It subscribes to AnimationFrame.diffs until the value settles and checks the timestamp of each resulting tick to determine when the settling interval has elapsed.

athanclark/elm-debouncer provides a generalized debouncer. It also uses Process.sleep for timing. Its API is a little hard to work out from its docs (for the author of this module, anyway).