UNPKG

mine-h5-ui

Version:

一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍

15 lines (14 loc) 476 B
import { provide as t } from "vue"; import { MeCheckboxGroupKey as s } from "./token.js"; /*! * mine-h5-ui v2.16.0 * Copyright (c) 2025 biaov * @license MIT */ const v = ({ emit: i, currentValue: o }) => (t(s, { name: s, currentValue: o, onChange: ({ name: n, isChecked: p }) => { const e = [...o.value]; p.value ? e.splice(e.indexOf(n), 1) : e.push(n), o.value = e, i("change", o.value); } }), {}); export { v as useInitSlots };