Skip to content

⬅️ Back to Table of Contents

📄 demo.vue

📊 Analysis Summary

Metric Count
🔧 Functions 2
📦 Imports 2
📊 Variables & Constants 1

📚 Table of Contents

🛠️ File Location:

📂 packages/shared/watchTriggerable/demo.vue

📦 Imports

Name Source
watchTriggerable @vueuse/core
shallowRef vue

Variables & Constants

Name Type Kind Value Exported
canceled boolean let/var false

Functions

clear(): void

Code
function clear() {
  ignoreUpdates(() => {
    source.value = 0
    log.value = ''
  })
}
  • Return Type: void
  • Calls:
  • ignoreUpdates

update(): void

Code
function update() {
  source.value++
}
  • Return Type: void