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
  3796ac39_cc5f_c295_1db4_8e4d983bb68a["onCompositionEnd()"]
  c5669fa5_f589_5187_60a1_228b9a62ccc3["model.ts"]
  3796ac39_cc5f_c295_1db4_8e4d983bb68a -->|defined in| c5669fa5_f589_5187_60a1_228b9a62ccc3
  de1fbbb8_38d0_c643_ac8c_0b6651bdbbcb["trigger()"]
  3796ac39_cc5f_c295_1db4_8e4d983bb68a -->|calls| de1fbbb8_38d0_c643_ac8c_0b6651bdbbcb
  style 3796ac39_cc5f_c295_1db4_8e4d983bb68a 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, defined in src/platforms/web/runtime/directives/model.ts.
Where is onCompositionEnd() defined?
onCompositionEnd() is defined in src/platforms/web/runtime/directives/model.ts at line 135.
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