UNPKG

mine-h5-ui

Version:

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

24 lines (23 loc) 820 B
import { defineComponent as d, useModel as s, openBlock as m, createElementBlock as r, toDisplayString as c, unref as i, mergeModels as o } from "vue"; import { useHandler as f } from "./hooks.js"; const p = { class: "me-count-to" }, h = /* @__PURE__ */ d({ name: "MeCountTo", __name: "index", props: /* @__PURE__ */ o({ startValue: { default: 0 }, endValue: {}, duration: { default: 1500 }, thousand: { type: Boolean, default: !1 } }, { modelValue: { type: Boolean, default: !0 }, modelModifiers: {} }), emits: /* @__PURE__ */ o(["end"], ["update:modelValue"]), setup(e, { emit: t }) { const a = t, l = e, n = s(e, "modelValue"), { comValue: u } = f({ props: l, emit: a, modelValue: n }); return (V, _) => (m(), r("div", p, c(i(u)), 1)); } }); export { h as default };