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

Function setStyleScope

vue.js:7792–7794  ·  view source on GitHub ↗
(node, scopeId)

Source from the content-addressed store, hash-verified

7790
7791 //设置组建样式的作用域
7792 function setStyleScope(node, scopeId) {
7793 node.setAttribute(scopeId, '');
7794 }
7795
7796 //Object.freeze()阻止修改现有属性的特性和值,并阻止添加新属性。
7797 var nodeOps = Object.freeze({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected