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
  aaa80066_df58_20e9_336b_9dd0d6380181["onCompositionEnd()"]
  69a7e351_3007_a43c_618a_93588eb8db15["model.ts"]
  aaa80066_df58_20e9_336b_9dd0d6380181 -->|defined in| 69a7e351_3007_a43c_618a_93588eb8db15
  bcd2513d_41ad_4466_521f_87dfe0b8f7fd["trigger()"]
  aaa80066_df58_20e9_336b_9dd0d6380181 -->|calls| bcd2513d_41ad_4466_521f_87dfe0b8f7fd
  style aaa80066_df58_20e9_336b_9dd0d6380181 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