(function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("vue")):typeof define=="function"&&define.amd?define(["vue"],n):(e=typeof globalThis<"u"?globalThis:e||self,e.LineClampVue=n(e.Vue))})(this,function(e){"use strict";const n=["title"],l=e.defineComponent({__name:"LineClampVue",props:{maxLines:{},text:{}},setup(i){const s=t=>t.scrollHeight>t.clientHeight,o=e.ref(null);return e.onMounted(()=>{console.log(s(o.value))}),(t,d)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"textEl",ref:o,style:e.normalizeStyle({overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:t.maxLines}),title:t.text},e.toDisplayString(t.text),13,n))}});return{install:i=>{i.component("LineClampVue",l)}}});