Skip to content

⬅️ Back to Table of Contents

📄 vue

📊 Analysis Summary

Metric Count
🔧 Functions 1
📦 Imports 2

📚 Table of Contents

🛠️ File Location:

📂 packages/shared/utils/vue.ts

📦 Imports

Name Source
ComponentInternalInstance vue
getCurrentInstance vue

Functions

getLifeCycleTarget(target: ComponentInternalInstance | null): any

Parameters:

  • target ComponentInternalInstance | null

Returns: any

Calls:

  • getCurrentInstance (from vue)
Code
export function getLifeCycleTarget(target?: ComponentInternalInstance | null) {
  return target || getCurrentInstance()
}

Generated by Syntax Scribe