MCPcopy Create free account
hub / github.com/TruthHun/BookStack / addIfCondition

Function addIfCondition

static/vuejs/vue.js:8038–8043  ·  view source on GitHub ↗
(el, condition)

Source from the content-addressed store, hash-verified

8036}
8037
8038function addIfCondition (el, condition) {
8039 if (!el.ifConditions) {
8040 el.ifConditions = [];
8041 }
8042 el.ifConditions.push(condition);
8043}
8044
8045function processOnce (el) {
8046 var once$$1 = getAndRemoveAttr(el, 'v-once');

Callers 3

parseFunction · 0.70
processIfFunction · 0.70
processIfConditionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected