ninemoon-ui 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +4 -0
- package/dist/js/popover/popover.js +5 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, withModifiers, renderSlot, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, normalizeClass, normalizeStyle, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, watch, nextTick, onUnmounted, openBlock, createElementBlock, withModifiers, renderSlot, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, normalizeClass, normalizeStyle, createCommentVNode } from "vue";
|
|
2
2
|
import { u as usePotion, t as throttle } from "../index/index.js";
|
|
3
3
|
const _hoisted_1 = ["onMouseenter"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -150,6 +150,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
150
150
|
return "200px";
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
|
+
onUnmounted(() => {
|
|
154
|
+
window.removeEventListener("resize", setPosition);
|
|
155
|
+
window.removeEventListener("scroll", setPosition, true);
|
|
156
|
+
});
|
|
153
157
|
__expose({
|
|
154
158
|
hideHandle
|
|
155
159
|
});
|