const changeZoom$ = DOM.select('#zoom') | |
.events('input') | |
.map(({ target }) => target.value) | |
.startWith(4) | |
.map(value => { | |
view.zoom = value; | |
return value; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment