UNPKG

myprint-design

Version:

操作简单,组件丰富的一站式打印解决方案打印设计器

28 lines (25 loc) 824 B
import { defineComponent, openBlock, createBlock, withCtx, renderSlot, createElementVNode, toDisplayString } from 'vue'; import MyPopover from '../popover/my-popover.vue.mjs'; const _hoisted_1 = { class: "my-tooltip_content" }; var _sfc_main = /* @__PURE__ */ defineComponent({ __name: "my-tooltip", props: { disabled: { type: Boolean }, content: { default: "" } }, setup(__props) { return (_ctx, _cache) => { return openBlock(), createBlock(MyPopover, null, { reference: withCtx(() => [ renderSlot(_ctx.$slots, "default") ]), default: withCtx(() => [ createElementVNode("div", _hoisted_1, toDisplayString(_ctx.content), 1) ]), _: 3 }); }; } }); export { _sfc_main as default }; //# sourceMappingURL=my-tooltip.vue2.mjs.map