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

Function finishEnter

packages/runtime-dom/src/components/Transition.ts:184–194  ·  view source on GitHub ↗
(
    el: Element & { _enterCancelled?: boolean },
    isAppear: boolean,
    done?: () => void,
    isCancelled?: boolean,
  )

Source from the content-addressed store, hash-verified

182 } = baseProps
183
184 const finishEnter = (
185 el: Element & { _enterCancelled?: boolean },
186 isAppear: boolean,
187 done?: () => void,
188 isCancelled?: boolean,
189 ) => {
190 el._enterCancelled = isCancelled
191 removeTransitionClass(el, isAppear ? appearToClass : enterToClass)
192 removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass)
193 done && done()
194 }
195
196 const finishLeave = (
197 el: Element & { _isLeaving?: boolean },

Callers 3

resolveFunction · 0.85
onEnterCancelledFunction · 0.85
onAppearCancelledFunction · 0.85

Calls 1

removeTransitionClassFunction · 0.85

Tested by

no test coverage detected