mirror of
https://github.com/He4eT/tabswitcher.git
synced 2026-05-05 01:17:23 +00:00
8 lines
263 B
JavaScript
8 lines
263 B
JavaScript
export const attachInputHandlers = (store) => {
|
|
const searchBox = document.getElementById('searchbox')
|
|
const actionbox = document.getElementById('actionbox')
|
|
|
|
searchBox.addEventListener('input', (e) => {
|
|
store.actions.updateQuery(e.target.value)
|
|
})
|
|
}
|