2 lines
330 B
JavaScript
2 lines
330 B
JavaScript
import{X as s,Y as i,Z as o}from"./index.9ec53a6c.js";const d=(t,n)=>{n&&typeof n=="object"&&t.setOption(n);const e=()=>{t&&t.resize()};window.addEventListener("resize",e),s(()=>{window.addEventListener("resize",e)}),i(()=>{window.removeEventListener("resize",e)}),o(()=>{window.removeEventListener("resize",e)})};export{d as u};
|