Skip to content

⬅️ Back to Table of Contents

📄 index.test.ts

📊 Analysis Summary

Metric Count
🔧 Functions 8
📦 Imports 7
📊 Variables & Constants 2

📚 Table of Contents

🛠️ File Location:

📂 packages/core/useFocus/index.test.ts

📦 Imports

Name Source
Ref vue
beforeEach vitest
describe vitest
expect vitest
it vitest
shallowRef vue
useFocus ./index

Variables & Constants

Name Type Kind Value Exported
target Ref<HTMLButtonElement> let/var *not shown*
event Event let/var new Event('focus')

Functions

matches(): boolean

Code
() => true
  • Return Type: boolean

matches(): boolean

Code
() => true
  • Return Type: boolean

matches(): boolean

Code
() => true
  • Return Type: boolean

matches(): boolean

Code
() => true
  • Return Type: boolean

matches(): boolean

Code
() => false
  • Return Type: boolean

matches(): boolean

Code
() => false
  • Return Type: boolean

matches(): boolean

Code
() => false
  • Return Type: boolean

matches(): boolean

Code
() => false
  • Return Type: boolean