⬅️ Back to Table of Contents
📄 demo.vue
📊 Analysis Summary
Metric |
Count |
🔧 Functions |
3 |
📦 Imports |
3 |
📊 Variables & Constants |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/shared/watchPausable/demo.vue
📦 Imports
Name |
Source |
onStartTyping |
@vueuse/core |
watchPausable |
@vueuse/core |
shallowRef |
vue |
Variables & Constants
Name |
Type |
Kind |
Value |
Exported |
input |
number |
let/var |
shallowRef<HTMLInputElement | null>() |
✗ |
Functions
clear(): void
Code
function clear() {
log.value = ''
}
pause(): void
Code
function pause() {
log.value += 'Paused\n'
watcher.pause()
}
- Return Type:
void
- Calls:
watcher.pause
resume(): void
Code
function resume() {
log.value += 'Resumed\n'
watcher.resume()
}
- Return Type:
void
- Calls:
watcher.resume