INNER CODE UNIT · JavaScript
off
deepentropy/tvscreener · app/js/app.js:506
const off = () => { delete code.dataset.focus; };
section.addEventListener('mouseenter', on);
section.addEventListener('mouseleave', off);
section.addEventListener('focusin', on);
section.addEventListener('focusout', off);
});
},
/**
* Switch screener type
*/
switchScreener(type) {
if (type === this.state.screenerType) return;
this.state.screenerType = type;
this.state.selectedFields = [];
this.state.selectAll = false;
this.state.filters = [];
this.state.index = '';