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

Function isTemplate

01.GettingStarted/js/vue.js:1422–1424  ·  view source on GitHub ↗

* Check if an element is a template tag. * Note if the template appears inside an SVG its tagName * will be in lowercase. * * @param {Element} el

(el)

Source from the content-addressed store, hash-verified

1420 */
1421
1422 function isTemplate(el) {
1423 return el.tagName && el.tagName.toLowerCase() === 'template';
1424 }
1425
1426 /**
1427 * Create an "anchor" for performing dom insertion/removals.

Callers 5

extractContentFunction · 0.70
isRealTemplateFunction · 0.70
FragmentFactoryFunction · 0.70
transcludeFunction · 0.70
extractFragmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected