homebridge-smartsystem
Version:
SmartServer (Proxy TCP sockets to the cloud, Smappee MQTT, Duotecno IP Nodes, Homekit interface)
1 lines • 460 B
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{PaPO:function(t,n,e){"use strict";e.r(n),e.d(n,"startStatusTap",(function(){return c}));var o=e("wEJo"),s=e("1vRN");const c=()=>{const t=window;t.addEventListener("statusTap",()=>{Object(o.h)(()=>{const n=document.elementFromPoint(t.innerWidth/2,t.innerHeight/2);if(!n)return;const e=n.closest("ion-content");e&&new Promise(t=>Object(s.c)(e,t)).then(()=>{Object(o.f)(()=>e.scrollToTop(300))})})})}}}]);