vue-seo.min.js 392 B

1
  1. Vue.component("v-seo",{template:"<div><slot></slot></div>",data:function(){return{vnode:null}},methods:{tagInputsFocus:function(n){vnode=n},addTags:function(n){var e=vnode.$data.lazyValue,t=e.substring(0,vnode.$refs.input.selectionStart),e=e.substring(vnode.$refs.input.selectionEnd,e.length);vnode.$data.lazyValue=t+"{{"+n+"}}"+e,vnode.$emit("input",vnode.$data.lazyValue),vnode.focus()}}});