@tindtechnologies/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
2 lines (1 loc) • 387 B
JavaScript
import{b as o,c as r}from"./chunk-VNJCZCB4.js";import"./chunk-L67DAW3A.js";var c=function(){var n=window;n.addEventListener("statusTap",function(){o(function(){var i=n.innerWidth,a=n.innerHeight,e=document.elementFromPoint(i/2,a/2);if(e){var t=e.closest("ion-content");t&&t.componentOnReady().then(function(){r(function(){return t.scrollToTop(300)})})}})})};export{c as startStatusTap};