@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
25 lines (20 loc) • 578 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
const vue = require('vue');
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
__name: "frame-content",
emits: ["mount", "unmount"],
setup(__props, { emit: __emit }) {
const emit = __emit;
vue.onMounted(() => {
emit("mount");
});
vue.onBeforeUnmount(() => {
emit("unmount");
});
return (_ctx, _cache) => {
return vue.renderSlot(_ctx.$slots, "default");
};
}
});
exports.default = _sfc_main;