MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / compileAndLinkProps

Function compileAndLinkProps

06.Router/basic/js/vue.js:6998–7004  ·  view source on GitHub ↗

* Compile link props on an instance. * * @param {Vue} vm * @param {Element} el * @param {Object} props * @param {Object} [scope] * @return {Function}

(vm, el, props, scope)

Source from the content-addressed store, hash-verified

6996 */
6997
6998 function compileAndLinkProps(vm, el, props, scope) {
6999 var propsLinkFn = compileProps(el, props, vm);
7000 var propDirs = linkAndCapture(function () {
7001 propsLinkFn(vm, scope);
7002 }, vm);
7003 return makeUnlinkFn(vm, propDirs);
7004 }
7005
7006 /**
7007 * Compile the root element of an instance.

Callers 1

stateMixinFunction · 0.70

Calls 3

compilePropsFunction · 0.70
linkAndCaptureFunction · 0.70
makeUnlinkFnFunction · 0.70

Tested by

no test coverage detected