A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal
8
export const state = {9
app: null,10
tab: 'account',10
tab: 'favorites',11
account: {12
username: '',13
language: 'en'
43
document.addEventListener('wheel', this.onScroll);44
},45
onScroll() {46
if(window.innerHeight + window.pageYOffset >= document.body.offsetHeight - 200) {47
this.$refs.search.doSearchMore();46
if(state.tab === 'search') {47
if(window.innerHeight + window.pageYOffset >= document.body.offsetHeight - 200) {48
this.$refs.search.doSearchMore();49
}50
}51
}52
},