1
0
forked from MTSR/mapserver
mapserver/server/static/js/search/SearchInput.js

11 lines
232 B
JavaScript
Raw Normal View History

var SearchInput = {
view: function(){
function handleInput(e){
SearchStore.search = e.target.value;
}
return m("input[type=text]", { placeholder: "Search", class: "form-control", oninput: handleInput });
}
}