Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
return {
DOM: changeZoom$.map(value =>
div([
div([
'Zoom Level',
input('#zoom', { type: 'range', min: 1, max: 23, value })
]),
h4('Current Zoom: ' + value)
])
)
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment