Hey everyone,
HabPanel is really nice and easy to implement, it is one reason I move my smart home to openhab.
But on some tablets it feels slow when we interact with it. I have to say I don’t use expensive tablet for the dashboard because I don’t see the point for this purpose.
I decided to test the dashboard with fastclick polyfill, you can find it here: https://github.com/ftlabs/fastclick
For that I just made a clock widget with this in it:
<script type='application/javascript' src='/path/to/fastclick.js'></script>
<script>
if ('addEventListener' in document) {
document.addEventListener('DOMContentLoaded', function() {
FastClick.attach(document.body);
}, false);
}
</script>
And OMG this make a feeling of a really fast UI I like. But this is an hack. Is there not better place/way to do it ?
Thanks