dpaw-monorail-plugin
Version:
JS library to link the brocket network to the QGIS/monorail server
14 lines (11 loc) • 344 B
JavaScript
function intent(DOM, incoming$) {
console.log('intent: relay incoming is ', incoming$);
return {
incoming$: incoming$,
changeWeight$: DOM.select('#weight').events('input')
.map(ev => ev.target.value),
changeHeight$: DOM.select('#height').events('input')
.map(ev => ev.target.value)
};
}
module.exports = intent;