MCPcopy Index your code
hub / github.com/ygs-code/vue / processOnce

Function processOnce

vue.js:13721–13726  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

13719 }
13720 //获取v-once 指令属性,如果有有该属性 为虚拟dom标签 标记事件 只触发一次则销毁
13721 function processOnce(el) {
13722 var once$$1 = getAndRemoveAttr(el, 'v-once');
13723 if (once$$1 != null) {
13724 el.once = true;
13725 }
13726 }
13727
13728 //检查插槽作用域 为el虚拟dom添加 slotName或者slotScope或者slot
13729 function processSlot(el) {

Callers 1

parseFunction · 0.85

Calls 1

getAndRemoveAttrFunction · 0.85

Tested by

no test coverage detected