From 210e3362f261592799172ed3d5cf36de61d67d7f Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 19 Oct 2024 11:31:49 -0400 Subject: [PATCH] fix --- documentation/docs/05-special-elements/09-special-elements.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/docs/05-special-elements/09-special-elements.md b/documentation/docs/05-special-elements/09-special-elements.md index 17c1aca576..13630fdea1 100644 --- a/documentation/docs/05-special-elements/09-special-elements.md +++ b/documentation/docs/05-special-elements/09-special-elements.md @@ -122,7 +122,7 @@ All except `scrollX` and `scrollY` are readonly. ``` -Similarly to ``, this element allows you to add listeners to events on `document`, such as `visibilitychange`, which don't fire on `window`. It also lets you use [actions](actions) on `document`. +Similarly to ``, this element allows you to add listeners to events on `document`, such as `visibilitychange`, which don't fire on `window`. It also lets you use [actions](use) on `document`. As with ``, this element may only appear the top level of your component and must never be inside a block or element. @@ -145,7 +145,7 @@ All are readonly. ``` -Similarly to ``, this element allows you to add listeners to events on `document.body`, such as `mouseenter` and `mouseleave`, which don't fire on `window`. It also lets you use [actions](actions) on the `` element. +Similarly to ``, this element allows you to add listeners to events on `document.body`, such as `mouseenter` and `mouseleave`, which don't fire on `window`. It also lets you use [actions](use) on the `` element. As with `` and ``, this element may only appear the top level of your component and must never be inside a block or element.