UNPKG

motion-plus-vue

Version:

Motion Plus Vue

8 lines (7 loc) 154 B
function n(t) { const { width: e, fontSize: o } = getComputedStyle(t); return `${parseFloat(e) / parseFloat(o)}em`; } export { n as getWidthInEm };