UNPKG

vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

3 lines (2 loc) 378 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");function a(u,l){const n=t.ref(u.value);function o(e){var i;l.value?n.value=e??((i=l.value.textContent)==null?void 0:i.trim())??null:n.value=e}return t.watch(u,e=>{o(e)}),t.onMounted(()=>{t.nextTick(()=>{o(u.value)})}),n}exports.useLabel=a; //# sourceMappingURL=hooks.cjs.map