From c0b2f217b7599c4f8dc66c35fa9da176b6a34f40 Mon Sep 17 00:00:00 2001 From: bluwy Date: Sun, 30 Jan 2022 23:05:12 +0800 Subject: [PATCH] update docs --- site/content/docs/03-run-time.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index a68c6a33ae..0340e2a0eb 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -256,7 +256,7 @@ Events dispatched from child components can be listened to in their parent. Any --- -Events can also be cancelable by passing a third parameter to the dispatch function. Event listeners can then call `event.preventDefault()` to control the dispatcher's return value. +Events can be cancelable by passing a third parameter to the dispatch function. The function returns `false` if the event is cancelled with `event.preventDefault()`, otherwise it returns `true`. ```sv