You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/essentials/watchers.md
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -272,6 +272,42 @@ watch(
272
272
273
273
</div>
274
274
275
+
276
+
## Once Watchers <supclass="vt-badge"data-text="3.4+" /> {#once-watchers}
277
+
278
+
Watcher's callback will execute whenever the watched source changes. If you want the callback to trigger only once when the source changes, use the `once: true` option.
0 commit comments