Skip to content

⬅️ Back to Table of Contents

📄 watchIgnorable/demo

📊 Analysis Summary

Metric Count
🔧 Functions 3
📦 Imports 2

📚 Table of Contents

🛠️ File Location:

📂 packages/shared/watchIgnorable/demo.vue

📦 Imports

Name Source
watchIgnorable @vueuse/core
shallowRef vue

Functions

clear(): void

Returns: void

Code
function clear() {
  source.value = 0
  log.value = ''
}

update(): void

Returns: void

Code
function update() {
  source.value++
}

ignoredUpdate(): void

Returns: void

Calls:

  • ignoreUpdates
Code
function ignoredUpdate() {
  ignoreUpdates(() => {
    source.value++
  })
}

Generated by Syntax Scribe