mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
12 lines (11 loc) • 395 B
JavaScript
import { inject as i, ref as e } from "vue";
import { MeGridKey as c } from "../MeGrid/token.js";
const C = (l) => {
const { name: a, params: o } = i(c, {}), s = e(4), r = e(25), t = e("");
return a === c && (s.value = o.cols, r.value = 100 / o.cols, t.value = o.borderColor), { widthValue: r, borderColor: t, handleClick: (n) => {
l("click", n);
} };
};
export {
C as useHandler
};