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

Function foo

packages/compiler-core/__tests__/transforms/transformElement.spec.ts:570–575  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

568 const { node } = parseWithElementTransform(`<div v-foo:bar="hello" />`, {
569 directiveTransforms: {
570 foo(dir) {
571 _dir = dir
572 return {
573 props: [createObjectProperty(dir.arg!, dir.exp!)],
574 }
575 },
576 },
577 })
578

Callers

nothing calls this directly

Calls 1

createObjectPropertyFunction · 0.90

Tested by

no test coverage detected