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

Function mounted

packages/runtime-dom/src/directives/vShow.ts:24–28  ·  view source on GitHub ↗
(el, { value }, { transition })

Source from the content-addressed store, hash-verified

22 }
23 },
24 mounted(el, { value }, { transition }) {
25 if (transition && value) {
26 transition.enter(el)
27 }
28 },
29 updated(el, { value, oldValue }, { transition }) {
30 if (!value === !oldValue) return
31 if (transition) {

Callers

nothing calls this directly

Calls 1

enterMethod · 0.80

Tested by

no test coverage detected