UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

13 lines (12 loc) 453 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.eventEffectNotPerformed = exports.markEventEffectPerformed = void 0; const eventSet = new WeakSet(); function markEventEffectPerformed(event) { eventSet.add(event); } exports.markEventEffectPerformed = markEventEffectPerformed; function eventEffectNotPerformed(event) { return !eventSet.has(event); } exports.eventEffectNotPerformed = eventEffectNotPerformed;