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

Function hasBindAttr

06.Router/basic/js/vue.js:1193–1195  ·  view source on GitHub ↗

* Check the presence of a bind attribute. * * @param {Node} node * @param {String} name * @return {Boolean}

(node, name)

Source from the content-addressed store, hash-verified

1191 */
1192
1193 function hasBindAttr(node, name) {
1194 return node.hasAttribute(name) || node.hasAttribute(':' + name) || node.hasAttribute('v-bind:' + name);
1195 }
1196
1197 /**
1198 * Insert el before target

Callers 1

transcludeTemplateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected