Skip to content

⬅️ Back to Table of Contents

📄 watchTriggerable/demo

📊 Analysis Summary

Metric Count
🔧 Functions 2
📦 Imports 2

📚 Table of Contents

🛠️ File Location:

📂 packages/shared/watchTriggerable/demo.vue

📦 Imports

Name Source
watchTriggerable @vueuse/core
shallowRef vue

Functions

clear(): void

Returns: void

Calls:

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

update(): void

Returns: void

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

Generated by Syntax Scribe