Home / Function/ getTimeout() — vue Function Reference

getTimeout() — vue Function Reference

Architecture documentation for the getTimeout() function in transition-util.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  f577e0b0_7aa9_0c64_bb5a_56d6b805e889["getTimeout()"]
  9d996f4e_65c0_f804_9740_00c0bf87f3c8["getTransitionInfo()"]
  9d996f4e_65c0_f804_9740_00c0bf87f3c8 -->|calls| f577e0b0_7aa9_0c64_bb5a_56d6b805e889
  c1e30bcc_f9f0_6182_f272_459e3c90147f["toMs()"]
  f577e0b0_7aa9_0c64_bb5a_56d6b805e889 -->|calls| c1e30bcc_f9f0_6182_f272_459e3c90147f
  style f577e0b0_7aa9_0c64_bb5a_56d6b805e889 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/runtime/transition-util.ts lines 195–207

function getTimeout(delays: Array<string>, durations: Array<string>): number {
  /* istanbul ignore next */
  while (delays.length < durations.length) {
    delays = delays.concat(delays)
  }

  return Math.max.apply(
    null,
    durations.map((d, i) => {
      return toMs(d) + toMs(delays[i])
    })
  )
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getTimeout() do?
getTimeout() is a function in the vue codebase.
What does getTimeout() call?
getTimeout() calls 1 function(s): toMs.
What calls getTimeout()?
getTimeout() is called by 1 function(s): getTransitionInfo.

Analyze Your Own Codebase

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

Try Supermodel Free