MCPcopy Create free account
hub / github.com/ygs-code/vue / html

Function html

vue.js:14210–14214  ·  view source on GitHub ↗
(el, dir)

Source from the content-addressed store, hash-verified

14208 * 为虚拟dom添加innerHTML 属性
14209 * */
14210 function html(el, dir) {
14211 if (dir.value) {
14212 addProp(el, 'innerHTML', ("_s(" + (dir.value) + ")"));
14213 }
14214 }
14215
14216 var directives$1 = {
14217 model: model, //根据判断虚拟dom的标签类型是什么?给相应的标签绑定 相应的 v-model 双数据绑定代码函数

Callers

nothing calls this directly

Calls 1

addPropFunction · 0.85

Tested by

no test coverage detected