Home / Function/ onCompositionEnd() — vue Function Reference

onCompositionEnd() — vue Function Reference

Architecture documentation for the onCompositionEnd() function in model.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  82c9e8d2_491e_bf0f_4024_56189f32dd7f["onCompositionEnd()"]
  e08f5c48_2642_a987_b7a8_acbcea961289["trigger()"]
  82c9e8d2_491e_bf0f_4024_56189f32dd7f -->|calls| e08f5c48_2642_a987_b7a8_acbcea961289
  style 82c9e8d2_491e_bf0f_4024_56189f32dd7f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/runtime/directives/model.ts lines 135–140

function onCompositionEnd(e) {
  // prevent triggering an input event for no reason
  if (!e.target.composing) return
  e.target.composing = false
  trigger(e.target, 'input')
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does onCompositionEnd() do?
onCompositionEnd() is a function in the vue codebase.
What does onCompositionEnd() call?
onCompositionEnd() calls 1 function(s): trigger.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free