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

Function addProp

static/vuejs/vue.esm.js:5454–5456  ·  view source on GitHub ↗
(el, name, value)

Source from the content-addressed store, hash-verified

5452}
5453
5454function addProp (el, name, value) {
5455 (el.props || (el.props = [])).push({ name: name, value: value });
5456}
5457
5458function addAttr (el, name, value) {
5459 (el.attrs || (el.attrs = [])).push({ name: name, value: value });

Callers 6

genCheckboxModelFunction · 0.70
genRadioModelFunction · 0.70
genDefaultModelFunction · 0.70
processAttrsFunction · 0.70
textFunction · 0.70
htmlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected