@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
22 lines (21 loc) • 453 B
JavaScript
import { unref as f } from "vue";
let e = null;
function n(l) {
if (l = f(l), e !== f(l)) {
if (e && e !== window && e !== document.documentElement) {
const i = e.querySelector(
".vxp-affix--fixed"
);
i && i.classList.remove("vxp-affix--fixed");
}
e = l;
}
}
function r(l) {
e && e === f(l) && (e = null);
}
export {
r as clearLastScroller,
n as handleLastScroller
};
//# sourceMappingURL=helpers.mjs.map