MCPcopy
hub / github.com/vuejs/core / appendScopeId

Function appendScopeId

packages/server-renderer/src/render.ts:308–317  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

306
307 const renderedScopeIds: string[] = []
308 const appendScopeId = (id: string) => {
309 if (
310 id &&
311 (!props || !hasOwn(props, id)) &&
312 !renderedScopeIds.includes(id)
313 ) {
314 openTag += ` ${id}`
315 renderedScopeIds.push(id)
316 }
317 }
318
319 if (scopeId) {
320 appendScopeId(scopeId)

Callers 1

renderElementVNodeFunction · 0.85

Calls 2

hasOwnFunction · 0.90
pushMethod · 0.65

Tested by

no test coverage detected