You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
322 B
JavaScript
2 lines
322 B
JavaScript
import{aU as a,aG as d,K as u}from"./entry/index-2-yrRtrk-1723018314898.js";function w(i,o={}){const{wait:s=150,immediate:r}=o;let e=()=>{i()};e=u(e,s);const n=()=>{r&&e(),window.addEventListener("resize",e)},t=()=>{window.removeEventListener("resize",e)};return a(()=>{n()}),d(()=>{t()}),{start:n,stop:t}}export{w as u};
|