Sha256: dc7610bae51755387ec46890a3b0ef46ef34cb740d6a79857c3f7353826d5f67
Contents?: true
Size: 568 Bytes
Versions: 6
Compression:
Stored size: 568 Bytes
Contents
var _ = require('../util') module.exports = { isLiteral: true, bind: function () { var vm = this.el.__vue__ if (!vm) { process.env.NODE_ENV !== 'production' && _.warn( 'v-ref should only be used on a component root element.' ) return } // If we get here, it means this is a `v-ref` on a // child, because parent scope `v-ref` is stripped in // `v-component` already. So we just record our own ref // here - it will overwrite parent ref in `v-component`, // if any. vm._refID = this.expression } }
Version data entries
6 entries across 6 versions & 2 rubygems