Skip to content

⬅️ Back to Table of Contents

📄 index.ts

📊 Analysis Summary

Metric Count
🔧 Functions 1
📦 Imports 6
📊 Variables & Constants 2
🟢 Vue Composition API 1

📚 Table of Contents

🛠️ File Location:

📂 packages/electron/useZoomFactor/index.ts

📦 Imports

Name Source
WebFrame electron
MaybeRef vue
Ref vue
deepRef vue
isRef vue
watch vue

Variables & Constants

Name Type Kind Value Exported
webFrame WebFrame | undefined let/var *not shown*
newFactor Ref<number> | null let/var null

Vue Composition API

Name Type Reactive Variables Composables
watch watch none none

Functions

useZoomFactor(factor: MaybeRef<number>): Ref<number>

Code
export function useZoomFactor(factor: MaybeRef<number>): Ref<number>
  • Parameters:
  • factor: MaybeRef<number>
  • Return Type: Ref<number>